Skip to content

Commit

Permalink
Fix vitest config
Browse files Browse the repository at this point in the history
  • Loading branch information
hokaccha committed Mar 21, 2024
1 parent 598d2f3 commit b8eff79
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,6 @@
"vitest": "^1.3.1"
},
"overrides": {
"vite": {
"rollup": "npm:@rollup/wasm-node"
}
"rollup": "npm:@rollup/wasm-node"
}
}
5 changes: 3 additions & 2 deletions vite.config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ import { defineConfig } from "vitest/config";

// eslint-disable-next-line import/no-default-export
export default defineConfig({
test: {
globals: true,
esbuild: {
target: "esnext",
platform: "node",
},
});

0 comments on commit b8eff79

Please sign in to comment.