chore(screener): add @xyflow/react + vitest test environment
This commit is contained in:
@@ -4,6 +4,12 @@ import react from '@vitejs/plugin-react'
|
||||
// https://vite.dev/config/
|
||||
export default defineConfig({
|
||||
plugins: [react()],
|
||||
test: {
|
||||
environment: 'jsdom',
|
||||
globals: true,
|
||||
setupFiles: ['./src/test-setup.js'],
|
||||
include: ['src/**/*.test.{js,jsx}'],
|
||||
},
|
||||
server: {
|
||||
host: '127.0.0.1',
|
||||
port: 3007,
|
||||
|
||||
Reference in New Issue
Block a user