feat(global): initialize project and framework structure, dockerize
This commit is contained in:
23
vitest.config.ts
Normal file
23
vitest.config.ts
Normal file
@@ -0,0 +1,23 @@
|
||||
import { defineVitestProject } from '@nuxt/test-utils/config';
|
||||
import { defineConfig } from 'vitest/config';
|
||||
|
||||
export default defineConfig({
|
||||
test: {
|
||||
projects: [
|
||||
{
|
||||
test: {
|
||||
name: 'unit',
|
||||
include: ['test/{e2e,unit}/*.{test,spec}.ts'],
|
||||
environment: 'node',
|
||||
},
|
||||
},
|
||||
await defineVitestProject({
|
||||
test: {
|
||||
name: 'nuxt',
|
||||
include: ['app/**/*.spec.ts', 'server/**/*.spec.ts'],
|
||||
environment: 'nuxt',
|
||||
},
|
||||
}),
|
||||
],
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user