Skip to content

Commit 291e984

Browse files
committed
Make sure make test runs vitest
1 parent 92cf6da commit 291e984

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

packages/volto/+make-test.internal

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Update the `make test` command to run `vitest`. @davisagli

packages/volto/package-why.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
"build:dist": "Description for `npm run build:dist` command",
1010
"test": "Description for `npm run test` command",
1111
"test:ci": "Description for `npm run test:ci` command",
12-
"test:husky": "Description for `npm run test:husky` command",
1312
"test:debug": "Description for `npm run test:debug` command",
1413
"start:prod": "Description for `npm run start:prod` command",
1514
"start:dist": "Description for `npm run start:dist` command",
@@ -31,4 +30,4 @@
3130
"storybook": "Description for `npm run storybook` command",
3231
"build-storybook": "Description for `npm run build-storybook` command"
3332
}
34-
}
33+
}

packages/volto/package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,8 @@
4242
"build:types": "tsc --project tsconfig.declarations.json",
4343
"vitest": "vitest",
4444
"coverage": "vitest run --coverage",
45-
"test": "razzle test --maxWorkers=50%",
46-
"test:ci": "CI=true NODE_ICU_DATA=node_modules/full-icu razzle test",
47-
"test:husky": "CI=true yarn test --bail --findRelatedTests",
45+
"test": "vitest",
46+
"test:ci": "CI=true NODE_ICU_DATA=node_modules/full-icu vitest",
4847
"start:prod": "NODE_ENV=production node build/server.js",
4948
"prettier": "prettier --single-quote --check '{src,cypress}/**/*.{js,jsx,ts,tsx}' --check '*.js'",
5049
"prettier:fix": "prettier --single-quote --write '{src,cypress}/**/*.{js,jsx,ts,tsx}' --write '*.js'",

0 commit comments

Comments
 (0)