Skip to content

Commit

Permalink
fix README
Browse files Browse the repository at this point in the history
  • Loading branch information
mulekick committed Oct 19, 2024
1 parent 587ee17 commit 1245e6e
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions packages/jest-environment-puppeteer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,17 +50,6 @@ If using TypeScript, jest-puppeteer has to be explicitly imported in order to ex
```ts
// import jest-puppeteer globals
import "jest-puppeteer";

describe("Google", (): void => {
beforeAll(async (): Promise<void> => {
await page.goto("https://google.com");
});

it('should display "google" text on page', async (): Promise<void> => {
const text = await page.evaluate(() => document.body.textContent);
expect(text).toContain("google");
});
});
```

## API
Expand Down

0 comments on commit 1245e6e

Please sign in to comment.