mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 12:14:41 +01:00
test(useOverlay): add composable tests (#4482)
Co-authored-by: Benjamin Canac <canacb1@gmail.com>
This commit is contained in:
@@ -12,7 +12,7 @@ export default defineConfig({
|
||||
testTimeout: 1000,
|
||||
environment: 'happy-dom',
|
||||
silent: true,
|
||||
include: ['./test/components/**.spec.ts'],
|
||||
include: ['./test/components/**.spec.ts', './test/composables/**.spec.ts'],
|
||||
setupFiles: ['./test/utils/setup.ts'],
|
||||
resolveSnapshotPath(path, extension) {
|
||||
return path.replace(/\/([^/]+)\.spec\.ts$/, `/__snapshots__/$1-vue.spec.ts${extension}`)
|
||||
|
||||
Reference in New Issue
Block a user