mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-15 14:11:50 +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) ```
65 lines
2.2 KiB
JSON
65 lines
2.2 KiB
JSON
{
|
|
"name": "stable-test-runner",
|
|
"lockfileVersion": 2,
|
|
"requires": true,
|
|
"packages": {
|
|
"": {
|
|
"dependencies": {
|
|
"@playwright/test": "1.28.1"
|
|
}
|
|
},
|
|
"node_modules/@playwright/test": {
|
|
"version": "1.28.1",
|
|
"resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.28.1.tgz",
|
|
"integrity": "sha512-xN6spdqrNlwSn9KabIhqfZR7IWjPpFK1835tFNgjrlysaSezuX8PYUwaz38V/yI8TJLG9PkAMEXoHRXYXlpTPQ==",
|
|
"dependencies": {
|
|
"@types/node": "*",
|
|
"playwright-core": "1.28.1"
|
|
},
|
|
"bin": {
|
|
"playwright": "cli.js"
|
|
},
|
|
"engines": {
|
|
"node": ">=14"
|
|
}
|
|
},
|
|
"node_modules/@types/node": {
|
|
"version": "18.0.0",
|
|
"resolved": "https://registry.npmjs.org/@types/node/-/node-18.0.0.tgz",
|
|
"integrity": "sha512-cHlGmko4gWLVI27cGJntjs/Sj8th9aYwplmZFwmmgYQQvL5NUsgVJG7OddLvNfLqYS31KFN0s3qlaD9qCaxACA=="
|
|
},
|
|
"node_modules/playwright-core": {
|
|
"version": "1.28.1",
|
|
"resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.28.1.tgz",
|
|
"integrity": "sha512-3PixLnGPno0E8rSBJjtwqTwJe3Yw72QwBBBxNoukIj3lEeBNXwbNiKrNuB1oyQgTBw5QHUhNO3SteEtHaMK6ag==",
|
|
"bin": {
|
|
"playwright": "cli.js"
|
|
},
|
|
"engines": {
|
|
"node": ">=14"
|
|
}
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"@playwright/test": {
|
|
"version": "1.28.1",
|
|
"resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.28.1.tgz",
|
|
"integrity": "sha512-xN6spdqrNlwSn9KabIhqfZR7IWjPpFK1835tFNgjrlysaSezuX8PYUwaz38V/yI8TJLG9PkAMEXoHRXYXlpTPQ==",
|
|
"requires": {
|
|
"@types/node": "*",
|
|
"playwright-core": "1.28.1"
|
|
}
|
|
},
|
|
"@types/node": {
|
|
"version": "18.0.0",
|
|
"resolved": "https://registry.npmjs.org/@types/node/-/node-18.0.0.tgz",
|
|
"integrity": "sha512-cHlGmko4gWLVI27cGJntjs/Sj8th9aYwplmZFwmmgYQQvL5NUsgVJG7OddLvNfLqYS31KFN0s3qlaD9qCaxACA=="
|
|
},
|
|
"playwright-core": {
|
|
"version": "1.28.1",
|
|
"resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.28.1.tgz",
|
|
"integrity": "sha512-3PixLnGPno0E8rSBJjtwqTwJe3Yw72QwBBBxNoukIj3lEeBNXwbNiKrNuB1oyQgTBw5QHUhNO3SteEtHaMK6ag=="
|
|
}
|
|
}
|
|
}
|