File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed
Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 2929 "check:types" : " tsc --noEmit --project tsconfig.json" ,
3030 "reformat" : " prettier --write ." ,
3131 "generate" : " ./scripts/generate.sh" ,
32- "test" : " vitest --coverage" ,
32+ "test" : " vitest --project unit-and-integration -- coverage" ,
3333 "pretest:accuracy" : " npm run build:compile" ,
3434 "test:accuracy" : " sh ./scripts/accuracy/run-accuracy-tests.sh"
3535 },
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ export MDB_ACCURACY_RUN_ID=$(npx uuid v4)
1717# specified in the command line. Such as:
1818# npm run test:accuracy -- tests/accuracy/some-test.test.ts
1919echo " Running accuracy tests with MDB_ACCURACY_RUN_ID '$MDB_ACCURACY_RUN_ID '"
20- vitest --config vitest.config.ts --project=accuracy --coverage=false --run --testTimeout=3600000 " $@ "
20+ vitest --config vitest.config.ts --project=accuracy --coverage=false --run " $@ "
2121
2222# Preserving the exit code from test run to correctly notify in the CI
2323# environments when the tests fail.
Original file line number Diff line number Diff line change @@ -22,13 +22,15 @@ export default defineConfig({
2222 } ,
2323 projects : [
2424 {
25+ extends : true ,
2526 test : {
2627 name : "unit-and-integration" ,
2728 include : [ "**/*.test.ts" ] ,
2829 exclude : [ ...vitestDefaultExcludes , "tests/accuracy/**" ] ,
2930 } ,
3031 } ,
3132 {
33+ extends : true ,
3234 test : {
3335 name : "accuracy" ,
3436 include : [ "**/accuracy/*.test.ts" ] ,
You can’t perform that action at this time.
0 commit comments