- Change tsconfig to use ESNext modules - Add type: module to package.json - Update auth.setup.ts to use generateSync instead of authenticator.generate - Install and configure dotenv to load environment variables - Add dotenv.config() to playwright.config.ts
16 lines
394 B
JSON
16 lines
394 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2020",
|
|
"module": "ESNext",
|
|
"lib": ["ES2020"],
|
|
"strict": true,
|
|
"esModuleInterop": true,
|
|
"skipLibCheck": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"resolveJsonModule": true,
|
|
"moduleResolution": "bundler",
|
|
"types": ["node", "@playwright/test"]
|
|
},
|
|
"include": ["tests/**/*.ts"],
|
|
"exclude": ["node_modules"]
|
|
}
|