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

Commit eda1105

Browse files
authored
Fix devices check in PlaywrightRunner (#130)
1 parent d5b2080 commit eda1105

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PlaywrightRunner.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ const getTests = async (tests: Test[]): Promise<Test[]> => {
6161
playwrightPackage,
6262
browser,
6363
)
64-
return devices
64+
return devices && devices.length
6565
? devices.flatMap((device) => {
6666
const availableDeviceNames = Object.keys(availableDevices)
6767
checkDeviceEnv(device, availableDeviceNames)

0 commit comments

Comments
 (0)