1
0
Fork 0

Removed long test

This commit is contained in:
Michaël Lemaire 2017-06-13 23:24:33 +02:00
parent 07d0eb7a9d
commit 3886f99cda
3 changed files with 9 additions and 3 deletions

View file

@ -27,10 +27,11 @@
"karma": "~1.5",
"karma-coverage": "~1.1",
"karma-jasmine": "~1.1",
"karma-spec-reporter": "~0.0",
"karma-phantomjs-launcher": "~1.0",
"live-server": "~1.2",
"remap-istanbul": "~0.9",
"typescript": "~2.3",
"typings": "~2.1"
}
}
}

View file

@ -11,6 +11,7 @@ module.exports = function (config) {
preprocessors: {
'out/build.js': ['coverage']
},
coverageReporter: {
type: 'json',
dir: 'out/coverage/',
@ -18,6 +19,10 @@ module.exports = function (config) {
file: 'coverage.json'
},
specReporter: {
showSpecTiming: true
},
files: [
'node_modules/babel-polyfill/dist/polyfill.js',
'out/vendor/phaser/build/phaser.js',

View file

@ -91,12 +91,12 @@ module TS.SpaceTac.Specs {
expect(session.player.fleet.location).toBe(session.start_location);
});
it("can generate lots of new games", function () {
/*it("can generate lots of new games", function () {
range(20).forEach(() => {
let session = new GameSession();
session.startNewGame();
expect(session.universe.stars.length).toBe(50);
});
});
});*/
});
}