mirror of
https://github.com/tiennm99/gsd-framework.git
synced 2026-05-24 14:25:34 +00:00
e4ed7a6592
- Add vitest.config.js with jsdom environment and global test APIs - Install vitest and jsdom as dev dependencies - Add test scripts (test, test:run) to package.json Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
10 lines
178 B
JavaScript
10 lines
178 B
JavaScript
import { defineConfig } from 'vitest/config';
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
environment: 'jsdom',
|
|
globals: true,
|
|
include: ['tests/**/*.test.js'],
|
|
},
|
|
});
|