feat(frontend): Add vitest and test for form diff
This commit is contained in:
23
legalconsenthub/vitest.config.ts
Normal file
23
legalconsenthub/vitest.config.ts
Normal file
@@ -0,0 +1,23 @@
|
||||
import { defineConfig } from 'vitest/config'
|
||||
import { defineVitestProject } from '@nuxt/test-utils/config'
|
||||
|
||||
export default defineConfig({
|
||||
test: {
|
||||
projects: [
|
||||
{
|
||||
test: {
|
||||
name: 'unit',
|
||||
include: ['test/{e2e,unit}/*.{test,spec}.ts'],
|
||||
environment: 'node'
|
||||
}
|
||||
},
|
||||
await defineVitestProject({
|
||||
test: {
|
||||
name: 'nuxt',
|
||||
include: ['test/nuxt/*.{test,spec}.ts'],
|
||||
environment: 'nuxt'
|
||||
}
|
||||
})
|
||||
]
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user