Skip to content
This repository was archived by the owner on Sep 11, 2025. It is now read-only.

Commit 14d4d0d

Browse files
fix null check for devices (#189)
1 parent 457116e commit 14d4d0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PlaywrightEnvironment.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ export const getPlaywrightEnv = (basicEnv = 'node'): unknown => {
105105
}
106106
}
107107

108-
if (device !== null) {
108+
if (device != null) {
109109
if (typeof device === 'string') {
110110
deviceName = device
111111
contextOptions = { ...devices[device], ...contextOptions }

0 commit comments

Comments
 (0)