Files
pdfme/playground/tsconfig.json
Kyohei Fukuda 85fb9c173f Devin/1740448101 add e2e tests (#757)
* Add E2E Testing with Puppeteer and Fix Syntax Errors

Co-Authored-By: Kyohei Fukuda <kyouhei.fukuda0729@gmail.com>

* Update package-lock.json

Co-Authored-By: Kyohei Fukuda <kyouhei.fukuda0729@gmail.com>

* Add playground test job to GitHub Actions workflow

Co-Authored-By: Kyohei Fukuda <kyouhei.fukuda0729@gmail.com>

* refactor: update template-assets by removing and re-adding QR lines and title entries

* test: run E2E tests in headless mode for better performance

* fix: adjust Puppeteer launch settings for local testing and set viewport size

* fix: update Puppeteer launch arguments for improved security and add esModuleInterop in TypeScript config

* TMP

* test: add E2E tests for playground with Puppeteer and update workflow configuration

* refactor: rename workflow jobs and streamline dependency installation for playground tests

* refactor: rename unit testing job to pdfme-test for clarity

* chore: remove obsolete image snapshot for playground E2E tests

* test: update image snapshot comparison threshold for E2E tests

* test: update image snapshot failure threshold for Playground E2E tests

* TMP

* TMP

* test: enable experimental VM modules for Jest execution

* test: enhance E2E tests with error handling and logging

* test: add timeout configuration to PuppeteerRunnerExtension in E2E tests

* test: refactor PuppeteerRunnerExtension instantiation for E2E tests

* test: update E2E tests to use localhost URLs and improve request handling

* test: enable request interception in E2E tests for improved request handling

* TMP

* test: refactor E2E tests to remove sleep calls and improve screenshot handling

* test: enhance E2E tests for better performance and reliability

---------

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2025-02-28 15:49:10 +09:00

27 lines
634 B
JSON

{
"compilerOptions": {
"esModuleInterop": true,
"target": "ES2020",
"useDefineForClassFields": true,
"lib": ["ES2020", "DOM", "DOM.Iterable"],
"module": "ESNext",
"skipLibCheck": true,
/* Bundler mode */
"moduleResolution": "bundler",
"allowImportingTsExtensions": true,
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"jsx": "react-jsx",
/* Linting */
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true
},
"include": ["src"],
"references": [{ "path": "./tsconfig.node.json" }]
}