Skip to content

Commit 47629cc

Browse files
committed
Fix test pattern to find also tests in windows
1 parent 712d8a0 commit 47629cc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@
99
"build": "npm run banner build && npm run lint && npm run clean:dist && npm run transpile && npm run copy:assets",
1010
"start": "node dist/app.js",
1111
"pretest": "./node_modules/.bin/tslint -c ./tslint.json -t stylish './test/unit/**/*.ts'",
12-
"test": "npm run banner test && cross-env NODE_ENV=test \"./node_modules/.bin/jest\"",
12+
"test": "npm run banner test && cross-env NODE_ENV=test \"./node_modules/.bin/jest\" --testPathPattern=unit",
1313
"test:pretty": "npm run test -- --verbose",
1414
"test:coverage": "npm run test -- --coverage",
1515
"pretest:black-box": "./node_modules/.bin/tslint -c ./tslint.json -t stylish './test/black-box/**/*.ts'",
16-
"test:black-box": "npm run banner test && cross-env NODE_ENV=test ./node_modules/.bin/jest ./test/black-box -i",
16+
"test:black-box": "npm run banner test && cross-env NODE_ENV=test \"./node_modules/.bin/jest\" --testPathPattern=black-box -i",
1717
"test:black-box:pretty": "npm run test:black-box -- --verbose",
1818
"db:migrate": "npm run banner migrate && \"./node_modules/.bin/knex\" migrate:latest",
1919
"db:migrate:rollback": "npm run banner rollback && \"./node_modules/.bin/knex\" migrate:rollback",

0 commit comments

Comments
 (0)