Skip to content

Commit

Permalink
Merge pull request #96 from taion/np
Browse files Browse the repository at this point in the history
Update test script to be np-friendly
  • Loading branch information
taion authored Aug 6, 2016
2 parents 28b2f44 + 73b5749 commit 92b3ec2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 0 additions & 2 deletions karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,5 @@ module.exports = config => {
},

browsers: env.BROWSER ? env.BROWSER.split(',') : ['Chrome', 'Firefox'],

singleRun: env.CONTINUOUS_INTEGRATION === 'true',
});
};
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@
"build-es": "rimraf es && cross-env BABEL_ENV=es babel src -d es",
"lint": "eslint src test tools *.js",
"prepublish": "npm run build",
"tdd": "cross-env NODE_ENV=test karma start",
"test": "npm run lint && npm run testonly",
"testonly": "cross-env NODE_ENV=test karma start"
"testonly": "npm run tdd -- --single-run"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 92b3ec2

Please sign in to comment.