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/transform/esmLoader": "./lib/transform/esmLoader.js",
|
||||
"./lib/transform/transform": "./lib/transform/transform.js",
|
||||
"./lib/internalsForTest": "./lib/internalsForTest.js",
|
||||
"./lib/plugins": "./lib/plugins/index.js",
|
||||
"./jsx-runtime": {
|
||||
"import": "./jsx-runtime.mjs",
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ test('should print dependencies in CJS mode', async ({ runInlineTest }) => {
|
|||
test('passes', () => {});
|
||||
`,
|
||||
'globalTeardown.ts': `
|
||||
import { fileDependencies } from 'playwright/lib/internalsForTest';
|
||||
const { fileDependencies } = require(path.join(path.dirname(require.resolve('playwright')), 'lib/internalsForTest.js'));
|
||||
export default () => {
|
||||
console.log('###' + JSON.stringify(fileDependencies()) + '###');
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue