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 29
29
"check:types" : " tsc --noEmit --project tsconfig.json" ,
30
30
"reformat" : " prettier --write ." ,
31
31
"generate" : " ./scripts/generate.sh" ,
32
- "test" : " vitest --coverage" ,
32
+ "test" : " vitest --project unit-and-integration -- coverage" ,
33
33
"pretest:accuracy" : " npm run build:compile" ,
34
34
"test:accuracy" : " sh ./scripts/accuracy/run-accuracy-tests.sh"
35
35
},
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ export MDB_ACCURACY_RUN_ID=$(npx uuid v4)
17
17
# specified in the command line. Such as:
18
18
# npm run test:accuracy -- tests/accuracy/some-test.test.ts
19
19
echo " 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 " $@ "
21
21
22
22
# Preserving the exit code from test run to correctly notify in the CI
23
23
# environments when the tests fail.
Original file line number Diff line number Diff line change @@ -22,13 +22,15 @@ export default defineConfig({
22
22
} ,
23
23
projects : [
24
24
{
25
+ extends : true ,
25
26
test : {
26
27
name : "unit-and-integration" ,
27
28
include : [ "**/*.test.ts" ] ,
28
29
exclude : [ ...vitestDefaultExcludes , "tests/accuracy/**" ] ,
29
30
} ,
30
31
} ,
31
32
{
33
+ extends : true ,
32
34
test : {
33
35
name : "accuracy" ,
34
36
include : [ "**/accuracy/*.test.ts" ] ,
You can’t perform that action at this time.
0 commit comments