docs: Update architecture for supabase
test: Add tests for auth workflow
This commit is contained in:
17
vitest.config.ts
Normal file
17
vitest.config.ts
Normal file
@@ -0,0 +1,17 @@
|
||||
import { defineVitestConfig } from '@nuxt/test-utils/config'
|
||||
|
||||
export default defineVitestConfig({
|
||||
test: {
|
||||
environment: 'nuxt',
|
||||
environmentOptions: {
|
||||
nuxt: {
|
||||
mock: {
|
||||
intersectionObserver: true,
|
||||
indexedDb: true,
|
||||
},
|
||||
},
|
||||
},
|
||||
include: ['tests/unit/**/*.test.ts'],
|
||||
exclude: ['tests/integration/**'],
|
||||
},
|
||||
})
|
||||
Reference in New Issue
Block a user