test: caminhos-base de components

This commit is contained in:
evandro committed 2026-11-16 00:35:14 -03:00
1 parent 9a0e0205dc
commit 60c98fc51e
11 files changed
+1148 -1

No files matched your search

+2 -1
View File
@@ -8,8 +8,9 @@ export default defineConfig({
alias: [{ find: /^@\//, replacement: fileURLToPath(new URL('./', import.meta.url)) }],
},
test: {
include: ['{lib,hooks,services}/**/*.test.ts'],
include: ['{lib,hooks,services}/**/*.test.ts', '{app,components}/**/*.test.tsx'],
environment: 'happy-dom', // localStorage para o persist do zustand e DOM para renderHook
setupFiles: ['./vitest.setup.ts'],
restoreMocks: true,
unstubGlobals: true,
},