Skip to content

Commit ea48748

Browse files
committed
Add info about jest-playwright-jsdom in README
1 parent 76c7fa2 commit ea48748

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

+4
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,10 @@ module.exports = {
133133

134134
Other options are documented in [jest-dev-server](https://github.com/smooth-code/jest-puppeteer/tree/master/packages/jest-dev-server).
135135

136+
## Using with different jest environments
137+
138+
The default **jest-playwright** environment is **node**, but you can use a browser-like environment through [jest-playwright-jsdom](https://github.com/playwright-community/jest-playwright-jsdom)
139+
136140
## expect-playwright
137141

138142
There is a utility package [expect-playwright](https://github.com/playwright-community/expect-playwright) which simplifies the expect statements in combination with Playwright to make e.g. shorter text comparisons.

0 commit comments

Comments
 (0)