Skip to content

Commit 3665526

Browse files
author
NarrowsProjects
committed
add to paralel
1 parent 5ba5db8 commit 3665526

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@
88
},
99
"scripts": {
1010
"coverage": "nyc npm test && npm run coverage:report",
11-
"coverage:report": "nyc report --reporter=html --reporter=json",
11+
"coverage:report": "nyc report --reporter=html --reporter=json --require ./test/hooks.js",
1212
"lint": "eslint --config eslint.config.js ",
1313
"lint:fix": "npm run lint -- --fix",
1414
"sequelize": "sequelize-cli",
1515
"start:dev": "nodemon --ignore 'lib/public/**/*.js' lib/main.js",
1616
"start:prod": "node lib/main.js",
1717
"test": "mocha --exit --timeout 0 --require ./test/hooks.js",
18-
"test:subset": "nyc -- mocha --exit --timeout 0 test/scripts/test-${TEST_TYPE}.js && nyc report --report-dir=/usr/src/app/coverage/${TEST_TYPE} --reporter=json",
18+
"test:subset": "nyc -- mocha --exit --timeout 0 --require ./test/hooks.js test/scripts/test-${TEST_TYPE}.js && nyc report --report-dir=/usr/src/app/coverage/${TEST_TYPE} --reporter=json",
1919
"test:subset-local": "mocha --exit --timeout 0 --reporter test/scripts/parallel-local/custom-mocha-reporter.js test/scripts/test-${TEST_TYPE}.js",
2020
"docker-run": "docker compose -f docker-compose.yml -f docker-compose.dev.yml up --build",
2121
"docker-test": "docker compose -p test -f docker-compose.yml -f docker-compose.test.yml up --build --abort-on-container-exit",

0 commit comments

Comments
 (0)