Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export ElementHandle and JSHandle types from puppeteer #55

Merged
merged 2 commits into from Apr 26, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/ninety-kids-report.md
@@ -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
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