Skip to content

Conversation

@dgozman
Copy link
Contributor

@dgozman dgozman commented Jun 7, 2021

We'll be able to bring jest namespace back if/when needed.

@dgozman dgozman requested a review from mxschmitt June 7, 2021 03:36
}
```

To import expect matching libraries like [jest-extended](https://github.com/jest-community/jest-extended#installation) you can import it from your `global.d.ts`:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wouldn't something like that work for users then? (move extending from jest from us to the use-space). Then the native expect-extend imports should work out of the box.

declare namespace PlaywrightTest {
  interface Matchers<R> extends jest.Matchers<R> {
  }
}

@dgozman dgozman merged commit 8c13f67 into microsoft:master Jun 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants