diff --git a/.eslintrc.json b/.eslintrc.json index a6bc1e0..abd29e8 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -8,7 +8,8 @@ "*.css", "*.md", "Dockerfile", - "compose.yaml" + "compose.yaml", + "*.ts" // Add other file types you want to ignore ], "plugins": ["@next/eslint-plugin-next"], diff --git a/package-lock.json b/package-lock.json index ffed6eb..d43f8d4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -42,6 +42,7 @@ "ts-node": "^10.9.2" }, "devDependencies": { + "@jest/globals": "^29.7.0", "@playwright/test": "^1.44.1", "@types/jest": "^29.5.12", "@types/node": "^20.12.12", diff --git a/package.json b/package.json index 3d510d6..a74de6d 100644 --- a/package.json +++ b/package.json @@ -52,6 +52,7 @@ "ts-node": "^10.9.2" }, "devDependencies": { + "@jest/globals": "^29.7.0", "@playwright/test": "^1.44.1", "@types/jest": "^29.5.12", "@types/node": "^20.12.12", diff --git a/tsconfig.json b/tsconfig.json index 45ec2e3..0447381 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -9,11 +9,27 @@ "esModuleInterop": true, "resolveJsonModule": true, "forceConsistentCasingInFileNames": true, - "types": ["@types/jest", "jest-playwright/preset", "expect-playwright"] + "types": [ + "@types/jest", + "jest-playwright/preset", + "expect-playwright", + "@types/node" + ], + "skipLibCheck": true, + "incremental": true, + "moduleResolution": "node", + "isolatedModules": true, + "jsx": "preserve", + "plugins": [ + { + "name": "next" + } + ] }, - "include": ["src"], + "include": ["src", ".next/types/**/*.ts"], "files": [ "node_modules/jest-playwright/types/global.d.ts", "node_modules/expect-playwright/global.d.ts" - ] + ], + "exclude": ["node_modules"] }