Skip to content

Commit e6bf6ab

Browse files
committed
remove karma config file at the root folder
Keep all the configuration files inside the `test-config` folder
1 parent d86548b commit e6bf6ab

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

karma.conf.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
"build": "ionic-app-scripts build",
99
"ionic:build": "ionic-app-scripts build",
1010
"ionic:serve": "ionic-app-scripts serve",
11-
"test": "karma start",
12-
"test-ci": "karma start --single-run",
11+
"test": "karma start ./test-config/karma.conf.js",
12+
"test-ci": "karma start ./test-config/karma.conf.js --single-run",
1313
"e2e": "npm run e2e-update && npm run e2e-test",
1414
"e2e-test": "protractor ./test-config/protractor.conf.js",
1515
"e2e-update": "webdriver-manager update --standalone false --gecko false"

test-config/karma.conf.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ var webpackConfig = require('./webpack.test.js');
22

33
module.exports = function(config) {
44
var _config = {
5-
basePath: '',
5+
basePath: '../',
66

77
frameworks: ['jasmine'],
88

0 commit comments

Comments
 (0)