From 14b708c909d5f68a93afb18c1820f05b5a075a52 Mon Sep 17 00:00:00 2001 From: Bertrand SIFRE Date: Thu, 8 Feb 2024 16:22:40 +0100 Subject: [PATCH] Update support.js --- support.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/support.js b/support.js index bf90a390..9aaa0145 100644 --- a/support.js +++ b/support.js @@ -67,7 +67,7 @@ const registerHooks = () => { const saveCoverageObject = (win) => { // if application code has been instrumented, the app iframe "window" has an object - const applicationSourceCoverage = win.__coverage__ + const applicationSourceCoverage = win?.__coverage__ if (!applicationSourceCoverage) { return }