Skip to content

Commit 9e4c3d4

Browse files
committed
Adding test command, moving new files to their correctl ocation
1 parent 4596097 commit 9e4c3d4

File tree

5 files changed

+18
-1
lines changed

5 files changed

+18
-1
lines changed

gulpfile.js

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ const resolveBin = require('resolve-bin');
1111

1212
// Other imports.
1313
const inlineResources = require('./scripts/release/inline-resources');
14+
const karma = require('karma');
1415

1516
// Gulp plugins.
1617
const gulpClean = require('gulp-clean');
@@ -274,6 +275,23 @@ gulp.task('serve:e2eapp', ['build:e2eapp'], function() {
274275
gulp.watch(path.join(e2eAppDir, '**/*.html'), ['build:e2eapp:assets'], reload);
275276
});
276277

278+
279+
/***************************************************************************************************
280+
* Release builds.
281+
*/
282+
gulp.task('test', function(done) {
283+
new karma.Server({
284+
configFile: path.join(__dirname, 'test/karma.conf.js')
285+
}, done).start();
286+
});
287+
gulp.task('test:single-run', function(done) {
288+
new karma.Server({
289+
configFile: path.join(__dirname, 'test/karma.conf.js'),
290+
singleRun: true
291+
}, done).start();
292+
});
293+
294+
277295
/***************************************************************************************************
278296
* Release builds.
279297
*/

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@
4545
"@types/jasmine": "^2.2.31",
4646
"browserstacktunnel-wrapper": "^1.4.2",
4747
"conventional-changelog": "^1.1.0",
48-
"ember-cli-inject-live-reload": "^1.4.0",
4948
"express": "^4.14.0",
5049
"firebase-tools": "^2.2.1",
5150
"fs-extra": "^0.26.5",
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)