mxschmitt / playwright-test-coverage

Playwright Test (@playwright/test) demo to collect coverage information via Istanbul
MIT License
118 stars 16 forks source link

TypeScript typings #11

Closed kachkaev closed 2 years ago

kachkaev commented 2 years ago

πŸ‘‹ @mxschmitt! Great library, I love it!

I was experimenting with Playwright today and had to add local typings for playwright-test-coverage:

// playwright-test-coverage.d.ts
declare module "playwright-test-coverage" {
  export * from "@playwright/test";
}

WDYT of including the typings so that other folks did not have to do this? Writing Playwright tests in TS must be quite common.

mxschmitt commented 2 years ago

This is the wrong repo, you need to file it against https://github.com/anishkny/playwright-test-coverage.

kachkaev commented 2 years ago

You’re right, thanks for pointing this out! πŸ˜… ➑️ https://github.com/anishkny/playwright-test-coverage/issues/53

Thanks for inspiring @anishkny! πŸ‘