Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Commit

Permalink
Merge pull request #32 from mediamonks/feature/karma-conf-root
Browse files Browse the repository at this point in the history
Move karma.conf.js to root of repo
  • Loading branch information
ThaNarie committed Jul 16, 2016
2 parents 994d887 + f63ca81 commit 3e257d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions config/karma.conf.js → karma.conf.js
Expand Up @@ -6,9 +6,6 @@ module.exports = function(config)
{
config.set({

// base path that will be used to resolve all patterns (eg. files, exclude)
basePath: '../',

// List of test frameworks we will use. Most of them are provided by separate packages (adapters).
// available frameworks: https://npmjs.org/browse/keyword/karma-adapter
frameworks: ['mocha', 'chai', 'source-map-support'],
Expand All @@ -34,7 +31,7 @@ module.exports = function(config)
]
},

webpack: require('./webpack.config.test')(),
webpack: require('./config/webpack.config.test')(),

// Make dev server silent.
webpackServer: { noInfo: true },
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -10,7 +10,7 @@
"typings": "typings install",
"test": "npm run validate",
"validate": "npm-run-all -p validate-webpack lint test-unit -s check-coverage",
"test-unit": "karma start config/karma.conf.js --single-run --browsers PhantomJS",
"test-unit": "karma start --single-run --browsers PhantomJS",
"check-coverage": "istanbul check-coverage --statement 1 --branches 1 --functions 1 --lines 1",
"validate-webpack": "webpack-validator config/webpack.config.dist.js && webpack-validator config/webpack.config.test.js",
"lint": "tslint -c tslint.json src/**/*.ts",
Expand Down

0 comments on commit 3e257d9

Please sign in to comment.