File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 3030 "reformat" : " prettier --write ." ,
3131 "generate" : " ./scripts/generate.sh" ,
3232 "test" : " node --experimental-vm-modules node_modules/jest/bin/jest.js --coverage --testPathIgnorePatterns=/tests/accuracy/" ,
33- "test:accuracy" : " node --experimental-vm-modules node_modules/jest/bin/jest.js --testPathPattern tests/accuracy" ,
34- "test:accuracy-file" : " MDB_ACCURACY_RUN_ID=$(npx uuid v4) node --experimental-vm-modules node_modules/jest/bin/jest.js"
33+ "test:accuracy" : " sh ./scripts/run-accuracy-tests.sh"
3534 },
3635 "license" : " Apache-2.0" ,
3736 "devDependencies" : {
Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+ # Variables necessary for the accuracy test runs
3+ export MDB_ACCURACY_RUN_ID=$( npx uuid v4)
4+
5+ TEST_PATH_PATTERN=" ${1:- tests/ accuracy} "
6+ shift || true
7+ node --experimental-vm-modules node_modules/jest/bin/jest.js --testPathPattern " $TEST_PATH_PATTERN " " $@ "
You can’t perform that action at this time.
0 commit comments