diff --git a/vitest.config.js b/vitest.config.js index e44b010..14a7bcb 100644 --- a/vitest.config.js +++ b/vitest.config.js @@ -1,8 +1,14 @@ import { defineConfig } from 'vitest/config' +import path from 'path' export default defineConfig({ test: { include: ['**/*.test.ts', '**/*.test.tsx'], environment: 'jsdom', }, + resolve: { + alias: { + '@': path.resolve(__dirname, './src'), + }, + }, })