expect-playwright
Advanced tools
Comparing version 0.4.0 to 0.4.1
@@ -94,2 +94,8 @@ // copied into our codebase for autocompletion purposes | ||
} | ||
namespace PlaywrightTest { | ||
interface Matchers<R> extends PlaywrightMatchers<R> {} | ||
} | ||
} | ||
export const matchers: any |
{ | ||
"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 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
23607
383
231