Skip to content

Commit

Permalink
Update path alias in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ruchernchong committed Dec 15, 2024
1 parent 76965f2 commit 52bb2af
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion vitest.config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
// vitest.config.ts
import path from "node:path";
import { defineConfig } from "vitest/config";

export default defineConfig({
resolve: {
alias: {
"@": path.resolve(__dirname, "./src"),
},
},
test: {
environment: "node",
globals: true,
Expand Down

0 comments on commit 52bb2af

Please sign in to comment.