Socket
Socket
Sign inDemoInstall

expect-puppeteer

Package Overview
Dependencies
0
Maintainers
2
Versions
40
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 8.0.2 to 8.0.3

4

package.json
{
"name": "expect-puppeteer",
"description": "Assertion toolkit for Puppeteer.",
"version": "8.0.2",
"version": "8.0.3",
"type": "commonjs",

@@ -52,3 +52,3 @@ "main": "./dist/index.js",

},
"gitHead": "a0672aac31827db7273a5eefd717401846589012"
"gitHead": "6723a112283bb2da345bed8a5079ef8a0f19d6a9"
}

@@ -15,19 +15,4 @@ # expect-puppeteer

Without Jest:
Modify your Jest configuration:
```js
import expect from "expect-puppeteer";
(async () => {
const browser = await puppeteer.launch();
const page = await browser.newPage();
await page.goto("https://google.com");
await expect(page).toMatch("google");
await browser.close();
})();
```
## Use with Jest
To use with Jest, just modify your configuration:
```json

@@ -34,0 +19,0 @@ {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc