From b20627285503353821d02de33494095696637f5b Mon Sep 17 00:00:00 2001 From: "Mason, Bryan" Date: Thu, 7 Jun 2018 09:31:15 -0600 Subject: [PATCH] Fixed #5 pattern matching for module specific test command. --- package.json | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index ae0deb87fe..80efaf7c79 100644 --- a/package.json +++ b/package.json @@ -11,13 +11,13 @@ "start": "react-scripts start", "build": "react-scripts build", "test": "./node_modules/.bin/cross-env CI=true react-scripts test --env=jsdom --noStackTrace || true", - "test:module1": "./node_modules/.bin/cross-env CI=true react-scripts test --env=jsdom --noStackTrace src/__tests__/module1 || true", - "test:module2": "./node_modules/.bin/cross-env CI=true react-scripts test --env=jsdom --noStackTrace src/__tests__/module2 || true", - "test:module3": "./node_modules/.bin/cross-env CI=true react-scripts test --env=jsdom --noStackTrace src/__tests__/module3 || true", - "test:module4": "./node_modules/.bin/cross-env CI=true react-scripts test --env=jsdom --noStackTrace src/__tests__/module4 || true", - "test:module5": "./node_modules/.bin/cross-env CI=true react-scripts test --env=jsdom --noStackTrace src/__tests__/module5 || true", - "test:module6": "./node_modules/.bin/cross-env CI=true react-scripts test --env=jsdom --noStackTrace src/__tests__/module6 || true", - "test:module7": "./node_modules/.bin/cross-env CI=true react-scripts test --env=jsdom --noStackTrace src/__tests__/module7 || true", + "test:module1": "./node_modules/.bin/cross-env CI=true react-scripts test --env=jsdom --noStackTrace module1 || true", + "test:module2": "./node_modules/.bin/cross-env CI=true react-scripts test --env=jsdom --noStackTrace module2 || true", + "test:module3": "./node_modules/.bin/cross-env CI=true react-scripts test --env=jsdom --noStackTrace module3 || true", + "test:module4": "./node_modules/.bin/cross-env CI=true react-scripts test --env=jsdom --noStackTrace module4 || true", + "test:module5": "./node_modules/.bin/cross-env CI=true react-scripts test --env=jsdom --noStackTrace module5 || true", + "test:module6": "./node_modules/.bin/cross-env CI=true react-scripts test --env=jsdom --noStackTrace module6 || true", + "test:module7": "./node_modules/.bin/cross-env CI=true react-scripts test --env=jsdom --noStackTrace module7 || true", "eject": "react-scripts eject" }, "jest": {