diff --git a/scripts/pre_test.js b/scripts/pre_test.js index 7b9fb6b1..239ffd40 100644 --- a/scripts/pre_test.js +++ b/scripts/pre_test.js @@ -4,9 +4,9 @@ function main() { if (!process.version.startsWith('v14.')) { return; } - console.log(`use vitest@~0.34.6 on Node.js ${process.version}`); + console.log(`use vitest@^0.32.0 on Node.js ${process.version}`); const cwd = process.cwd() - execSync('npm i vitest@~0.34.6 @vitest/coverage-v8', { + execSync('npm i vitest@^0.32.0 @vitest/coverage-v8@^0.32.0', { cwd, stdio: [ 'inherit', 'inherit', 'inherit' ], });