Skip to content

Commit

Permalink
package.json: Change "npm test" to only run tests for current ember-t…
Browse files Browse the repository at this point in the history
…ry scenario (#39)

and use "npm run test:all" instead to test against all scenarios
  • Loading branch information
Turbo87 authored Jan 9, 2017
1 parent c3ae32b commit 3c7336f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ install:
script:
# Usually, it's ok to finish the test scenario without reverting
# to the addon's original dependency state, skipping "cleanup".
- npm test -- --skip-cleanup
- npm run test:all -- --skip-cleanup
- npm run lint

notifications:
Expand Down
2 changes: 1 addition & 1 deletion config/ember-try.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* eslint-env node */
module.exports = {
command: 'npm run test:both',
command: 'npm test',
useVersionCompatibility: true,
scenarios: [
{
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
"build": "ember build",
"lint": "eslint config test-support tests *.js",
"start": "ember server",
"test": "ember try:each",
"test:both": "npm run test:keep && npm run test:strip",
"test": "npm run test:keep && npm run test:strip",
"test:all": "ember try:each",
"test:keep": "ember test",
"test:strip": "STRIP_TEST_SELECTORS=true ember test"
},
Expand Down

0 comments on commit 3c7336f

Please sign in to comment.