Skip to content

Commit

Permalink
chore: remove manual __esModule override
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelfeldman committed Jan 10, 2024
1 parent 19a4f15 commit 5ccba07
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 0 additions & 2 deletions packages/playwright/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -748,5 +748,3 @@ export const test = _baseTest.extend<TestFixtures, WorkerFixtures>(playwrightFix
export { defineConfig } from './common/configLoader';
export { mergeTests } from './common/testType';
export { mergeExpects } from './matchers/expect';

export default test;
4 changes: 1 addition & 3 deletions packages/playwright/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,4 @@ const combinedExports = {
...pwt,
};

Object.defineProperty(combinedExports, '__esModule', { value: true });

module.exports = combinedExports;
module.exports = Object.assign(combinedExports.test, combinedExports);

0 comments on commit 5ccba07

Please sign in to comment.