Skip to content

Commit

Permalink
Export ElementHandle and JSHandle types from puppeteer (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
calebeby committed Apr 26, 2021
1 parent 6aa66e4 commit 31cc1a9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/ninety-kids-report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'test-mule': patch
---

Export `JSHandle` and `ElementHandle` types from puppeteer. Now if you want to use those types you can import them directly from test-mule.
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import { fileURLToPath } from 'url';
import type { TestMuleUser } from './user';
import { testMuleUser } from './user';
import { assertElementHandle, removeFuncFromStackTrace } from './utils';
export { JSHandle, ElementHandle } from 'puppeteer';
koloristOpts.enabled = true;
const ansiRegex = _ansiRegex({ onlyFirst: true });
export type { TestMuleUser };
Expand Down

0 comments on commit 31cc1a9

Please sign in to comment.