diff --git a/package.json b/package.json index 92c6270..86aac54 100644 --- a/package.json +++ b/package.json @@ -4,6 +4,7 @@ "scripts": { "pretest": "node scripts/checkNodeVersion", "test": "vitest", + "test:mock": "pnpm --filter \"@linzb93/mock\" test", "build": "lerna run build" }, "type": "module", @@ -11,6 +12,7 @@ "@types/lodash-es": "^4.17.12", "@types/node": "^20.12.12", "chalk": "^5.3.0", + "cross-env": "^7.0.3", "husky": "^9.0.11", "lerna": "^8.1.3", "semver": "^7.6.2", diff --git a/packages/mock/package.json b/packages/mock/package.json index 0009e75..d1fc4fc 100644 --- a/packages/mock/package.json +++ b/packages/mock/package.json @@ -20,7 +20,7 @@ "registry": "https://registry.npmmirror.com/" }, "scripts": { - "test": "jest" + "test": "vitest" }, "dependencies": { "@linzb93/utils": "^0.0.14",