Add tests and edit works

This commit is contained in:
Joey Yakimowich-Payne 2026-01-13 23:52:04 -07:00
commit bc4b0e2df7
No known key found for this signature in database
GPG key ID: 6BFE655FA5ABD1E1
12 changed files with 2415 additions and 20 deletions

View file

@ -18,6 +18,17 @@ export default defineConfig(({ mode }) => {
alias: {
'@': path.resolve(__dirname, '.'),
}
}
},
test: {
globals: true,
environment: 'jsdom',
setupFiles: ['./tests/setup.tsx'],
include: ['tests/**/*.test.{ts,tsx}'],
coverage: {
provider: 'v8',
reporter: ['text', 'json', 'html'],
include: ['components/**', 'hooks/**'],
},
},
};
});