mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-04-08 03:00:28 -04:00
### Changes 🏗️ - Removed `happy-dom` from `devDependencies` and added it back in a different section for clarity. - Added `@testing-library/jest-dom` to `devDependencies` for improved testing assertions. - Updated `tsconfig.json` to include types for `@testing-library/jest-dom`. - Configured Vitest to enable global variables for testing. - Imported `@testing-library/jest-dom` in the Vitest setup file for enhanced testing capabilities. ### Checklist 📋 - [x] Verified that all tests pass with the new setup. - [x] Ensured that the testing environment is correctly configured for integration tests.
31 lines
700 B
JSON
31 lines
700 B
JSON
{
|
|
"compilerOptions": {
|
|
"lib": ["DOM", "DOM.Iterable", "ESNext"],
|
|
"allowJs": false,
|
|
"skipLibCheck": true,
|
|
"strict": true,
|
|
"noEmit": true,
|
|
"target": "ES2022",
|
|
"esModuleInterop": true,
|
|
"module": "ESNext",
|
|
"moduleResolution": "bundler",
|
|
"resolveJsonModule": true,
|
|
"isolatedModules": true,
|
|
"jsx": "preserve",
|
|
"incremental": true,
|
|
"plugins": [{ "name": "next" }],
|
|
"types": ["vitest/globals", "@testing-library/jest-dom/vitest"],
|
|
"paths": {
|
|
"@/*": ["./src/*"]
|
|
}
|
|
},
|
|
"include": [
|
|
"next-env.d.ts",
|
|
"**/*.ts",
|
|
"**/*.tsx",
|
|
".next/types/**/*.ts",
|
|
"test-runner-jest.config.js"
|
|
],
|
|
"exclude": ["node_modules"]
|
|
}
|