- Added a new 'E2E (docker compose + Playwright)' stage in the Jenkinsfile to run end-to-end tests using Docker Compose and Playwright. - Updated the 'Test frontend' stage to utilize the Playwright test image and improved error handling for missing files. - Modified Playwright configuration to use an environment variable for the base URL, enhancing flexibility in CI environments. - Expanded TypeScript configuration to include additional test and configuration files for better type checking.
39 lines
1.1 KiB
JSON
39 lines
1.1 KiB
JSON
{
|
|
"extends": "./.svelte-kit/tsconfig.json",
|
|
"compilerOptions": {
|
|
"allowJs": true,
|
|
"checkJs": true,
|
|
"esModuleInterop": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"resolveJsonModule": true,
|
|
"skipLibCheck": true,
|
|
"sourceMap": true,
|
|
"strict": true,
|
|
"moduleResolution": "bundler",
|
|
"allowArbitraryExtensions": true
|
|
},
|
|
"include": [
|
|
"playwright.config.ts",
|
|
"e2e/**/*.ts",
|
|
"e2e/**/*.js",
|
|
"vitest-setup-client.ts",
|
|
"eslint.config.js",
|
|
"./.svelte-kit/ambient.d.ts",
|
|
"./.svelte-kit/non-ambient.d.ts",
|
|
"./.svelte-kit/types/**/$types.d.ts",
|
|
"./src/**/*.js",
|
|
"./src/**/*.ts",
|
|
"./src/**/*.svelte",
|
|
"./tests/**/*.js",
|
|
"./tests/**/*.ts",
|
|
"./tests/**/*.svelte",
|
|
"./vite.config.js",
|
|
"./vite.config.ts"
|
|
]
|
|
// Path aliases are handled by https://svelte.dev/docs/kit/configuration#alias
|
|
// except $lib which is handled by https://svelte.dev/docs/kit/configuration#files
|
|
//
|
|
// To make changes to top-level options such as include and exclude, we recommend extending
|
|
// the generated config; see https://svelte.dev/docs/kit/configuration#typescript
|
|
}
|