Skip to content

Commit d0a96c9

Browse files
committed
1.6.0-rc4
1 parent d2532e9 commit d0a96c9

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jest-playwright-preset",
3-
"version": "1.6.0-rc3",
3+
"version": "1.6.0-rc4",
44
"main": "index.js",
55
"description": "Running tests using Jest & Playwright.",
66
"license": "MIT",

src/PlaywrightEnvironment.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ export const getPlaywrightEnv = (basicEnv = 'node'): unknown => {
353353
const browserType = getBrowserType(browserName)
354354
const { instance, devices } = getPlaywrightInstance(browserType)
355355
const contextOptions = this._getContextOptions(devices)
356-
if (haveSkippedTests && event.name === 'test_fn_start') {
356+
if (haveSkippedTests && event.name === 'run_start') {
357357
this.global.browser = await getBrowserPerProcess(
358358
instance as GenericBrowser,
359359
browserType,

0 commit comments

Comments
 (0)