File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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" ,
You can’t perform that action at this time.
0 commit comments