mirror of
https://github.com/hanzoai/vitest.git
synced 2026-09-24 17:04:25 +00:00
12 lines
228 B
TypeScript
12 lines
228 B
TypeScript
import { resolve } from 'node:path'
|
|
import { defineConfig } from 'vite'
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
globals: true,
|
|
globalSetup: [
|
|
resolve(import.meta.dirname, './globalSetup/error.ts'),
|
|
],
|
|
},
|
|
})
|