feat: Add support for cypress and vitest
Signed-off-by: Avior <github@avior.me>
This commit is contained in:
13
vitest.config.ts
Normal file
13
vitest.config.ts
Normal file
@ -0,0 +1,13 @@
|
||||
/// <reference types="vitest" />
|
||||
import { getViteConfig } from 'astro/config'
|
||||
import { configDefaults } from 'vitest/config'
|
||||
|
||||
export default getViteConfig({
|
||||
test: {
|
||||
include: [
|
||||
'./tests/**'
|
||||
]
|
||||
/* for example, use global to avoid globals imports (describe, test, expect): */
|
||||
// globals: true,
|
||||
},
|
||||
});
|
Reference in New Issue
Block a user