From 7d88719b87a0297f7fb01c8d4bdb792b9fa42c38 Mon Sep 17 00:00:00 2001 From: Tobias Bieniek Date: Mon, 9 Jan 2017 11:14:34 +0100 Subject: [PATCH] package.json: Change "npm test" to only run tests for current ember-try scenario and use "npm run test:all" instead to test against all scenarios --- .travis.yml | 2 +- config/ember-try.js | 2 +- package.json | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index de765e96..3fdd557a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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: diff --git a/config/ember-try.js b/config/ember-try.js index 88854232..0d13cfe0 100644 --- a/config/ember-try.js +++ b/config/ember-try.js @@ -1,6 +1,6 @@ /*jshint node:true*/ module.exports = { - command: 'npm run test:both', + command: 'npm test', useVersionCompatibility: true, scenarios: [ { diff --git a/package.json b/package.json index 891731be..7d596e5f 100644 --- a/package.json +++ b/package.json @@ -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" },