Socket
Socket
Sign inDemoInstall

expect-playwright

Package Overview
Dependencies
Maintainers
2
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

expect-playwright - npm Package Compare versions

Comparing version 0.4.0 to 0.4.1

6

global.d.ts

@@ -94,2 +94,8 @@ // copied into our codebase for autocompletion purposes

}
namespace PlaywrightTest {
interface Matchers<R> extends PlaywrightMatchers<R> {}
}
}
export const matchers: any

18

package.json
{
"name": "expect-playwright",
"version": "0.4.0",
"version": "0.4.1",
"main": "lib/index.js",

@@ -15,15 +15,15 @@ "types": "./global.d.ts",

"peerDependencies": {
"playwright-core": "^1.11.0"
"playwright-core": "^1.12.0"
},
"devDependencies": {
"@types/jest": "^26.0.23",
"@types/node": "^15.0.2",
"jest": "^26.6.3",
"jest-playwright-preset": "^1.5.1",
"playwright-chromium": "^1.11.0",
"playwright-core": "^1.11.0",
"@types/node": "^15.12.2",
"jest": "^27.0.4",
"jest-playwright-preset": "^1.6.1",
"playwright-chromium": "^1.12.0",
"playwright-core": "^1.12.0",
"prettier": "^2.3.0",
"ts-jest": "^26.5.6",
"typescript": "^4.2.4"
"ts-jest": "^27.0.3",
"typescript": "^4.3.2"
}
}

@@ -25,8 +25,8 @@ # expect-playwright

### With Playwright test runner
### With [Playwright test runner](https://playwright.dev/docs/test-intro)
To activate with the Playwright test runner, use `expect.extend` to add the `expect-playwright` matchers.
To activate with the Playwright test runner, use `expect.extend()` in the config to add the `expect-playwright` matchers.
```js
// folio.config.ts
// playwright.config.ts
import { expect } from "@playwright/test"

@@ -36,2 +36,4 @@ import { matchers } from "expect-playwright"

expect.extend(matchers)
// ...
```

@@ -38,0 +40,0 @@

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc