| 1 | import path from "node:path"; |
| 2 | |
| 3 | import { defineConfig } from "vitest/config"; |
| 4 | |
| 5 | export default defineConfig({ |
| 6 | resolve: { |
| 7 | alias: { |
| 8 | "@": path.resolve(__dirname, "./src"), |
| 9 | }, |
| 10 | }, |
| 11 | test: { |
| 12 | environment: "node", |
| 13 | include: ["test/**/*.test.ts"], |
| 14 | exclude: ["test/**/*.worker.test.ts"], |
| 15 | }, |
| 16 | }); |