test: caminhos-base de components
This commit is contained in:
1 parent
9a0e0205dc
commit
60c98fc51e
11 files changed
+1148
-1
No files matched your search
+2
-1
@@ -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,
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user