* feat: fs support with drizzle and duckdb-wasm * docs: fix lint errors * fix: apply suggestions * fix: lockfile
33 lines
723 B
TypeScript
33 lines
723 B
TypeScript
import { defineConfig } from 'vitest/config'
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
workspace: [
|
|
{
|
|
extends: true,
|
|
test: {
|
|
name: 'node',
|
|
environment: 'node',
|
|
include: ['**/*.{spec,test}.ts'],
|
|
exclude: ['**/*.browser.{spec,test}.ts', '**/node_modules/**'],
|
|
},
|
|
},
|
|
{
|
|
extends: true,
|
|
test: {
|
|
name: 'browser',
|
|
include: ['**/*.browser.{spec,test}.ts'],
|
|
exclude: ['**/node_modules/**'],
|
|
browser: {
|
|
enabled: true,
|
|
provider: 'playwright',
|
|
instances: [
|
|
{ browser: 'chromium' },
|
|
],
|
|
},
|
|
},
|
|
},
|
|
],
|
|
},
|
|
})
|