Skip to content

Commit f0a58ae

Browse files
committed
updates
1 parent 8536c15 commit f0a58ae

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

support.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,9 @@ const registerHooks = () => {
7070
// in addition, accessing win.__coverage__ can throw when testing cross-origin code,
7171
// because we don't control the cross-origin code, we can safely return
7272
let applicationSourceCoverage
73-
try { applicationSourceCoverage = win?.__coverage__ } catch {}
73+
try {
74+
applicationSourceCoverage = win?.__coverage__
75+
} catch {}
7476
if (!applicationSourceCoverage) {
7577
return
7678
}

0 commit comments

Comments
 (0)