chore: remove inernalsForTest package.json export
This commit is contained in:
parent
daf6c40160
commit
b511012128
|
|
@ -28,7 +28,6 @@
|
||||||
"./lib/runner/testServer": "./lib/runner/testServer.js",
|
"./lib/runner/testServer": "./lib/runner/testServer.js",
|
||||||
"./lib/transform/esmLoader": "./lib/transform/esmLoader.js",
|
"./lib/transform/esmLoader": "./lib/transform/esmLoader.js",
|
||||||
"./lib/transform/transform": "./lib/transform/transform.js",
|
"./lib/transform/transform": "./lib/transform/transform.js",
|
||||||
"./lib/internalsForTest": "./lib/internalsForTest.js",
|
|
||||||
"./lib/plugins": "./lib/plugins/index.js",
|
"./lib/plugins": "./lib/plugins/index.js",
|
||||||
"./jsx-runtime": {
|
"./jsx-runtime": {
|
||||||
"import": "./jsx-runtime.mjs",
|
"import": "./jsx-runtime.mjs",
|
||||||
|
|
|
||||||
|
|
@ -40,7 +40,7 @@ test('should print dependencies in CJS mode', async ({ runInlineTest }) => {
|
||||||
test('passes', () => {});
|
test('passes', () => {});
|
||||||
`,
|
`,
|
||||||
'globalTeardown.ts': `
|
'globalTeardown.ts': `
|
||||||
import { fileDependencies } from 'playwright/lib/internalsForTest';
|
const { fileDependencies } = require(path.join(path.dirname(require.resolve('playwright')), 'lib/internalsForTest.js'));
|
||||||
export default () => {
|
export default () => {
|
||||||
console.log('###' + JSON.stringify(fileDependencies()) + '###');
|
console.log('###' + JSON.stringify(fileDependencies()) + '###');
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue