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 30
30
"reformat" : " prettier --write ." ,
31
31
"generate" : " ./scripts/generate.sh" ,
32
32
"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"
35
34
},
36
35
"license" : " Apache-2.0" ,
37
36
"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