mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-14 13:45:36 +03:00
d294c5da33
This required `allowJs: false` in our `tsconfig.json` due to the following error: ``` Error: Cannot find module './utilsBundleImpl' Require stack: - <playwright>/packages/playwright-core/src/utilsBundle.ts - <playwright>/packages/playwright-test/lib/reporters/html.js - <playwright>/tests/playwright-test/reporter-html.spec.ts - <playwright>/tests/playwright-test/stable-test-runner/node_modules/@playwright/test/lib/loader.js - <playwright>/tests/playwright-test/stable-test-runner/node_modules/@playwright/test/lib/runner.js - <playwright>/tests/playwright-test/stable-test-runner/node_modules/@playwright/test/lib/cli.js - <playwright>/tests/playwright-test/stable-test-runner/node_modules/playwright-core/lib/cli/cli.js - <playwright>/tests/playwright-test/stable-test-runner/node_modules/playwright-core/cli.js - <playwright>/tests/playwright-test/stable-test-runner/node_modules/@playwright/test/cli.js at ../../packages/playwright-core/src/utilsBundle.ts:20 18 | import path from 'path'; 19 | > 20 | export const colors: typeof import('../bundles/utils/node_modules/colors/safe') = require('./utilsBundleImpl').colors; | ^ 21 | export const debug: typeof import('../bundles/utils/node_modules/@types/debug') = require('./utilsBundleImpl').debug; 22 | export const getProxyForUrl: typeof import('../bundles/utils/node_modules/@types/proxy-from-env').getProxyForUrl = require('./utilsBundleImpl').getProxyForUrl; 23 | export const HttpsProxyAgent: typeof import('../bundles/utils/node_modules/https-proxy-agent').HttpsProxyAgent = require('./utilsBundleImpl').HttpsProxyAgent; at Object.<anonymous> (<playwright>/packages/playwright-core/src/utilsBundle.ts:20:83) at Object.<anonymous> (<playwright>/packages/playwright-test/src/reporters/html.ts:17:1) ``` |
||
---|---|---|
.. | ||
.gitignore | ||
index.d.ts | ||
index.js | ||
package-lock.json | ||
package.json | ||
README.md |
This directory holds a stable test runner:
- It is possible to test broken test runner with a stable working one.
- Dependencies between ToT and stable test runner do not clash.