Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
fengmk2 committed Dec 3, 2023
1 parent fb7868c commit 9d10f60
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/pre_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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' ],
});
Expand Down

0 comments on commit 9d10f60

Please sign in to comment.