We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a07e236 commit 7131786Copy full SHA for 7131786
support.js
@@ -71,6 +71,10 @@ const registerHooks = () => {
71
// because we don't control the cross-origin code, we can safely return
72
let applicationSourceCoverage
73
try {
74
+ // Note that we are purposefully not supporting the optional chaining syntax here to
75
+ // support a wide range of projects (some of which are not set up to support the optional
76
+ // chaining syntax due to current Cypress limitations). See:
77
+ // https://github.com/cypress-io/cypress/issues/20753
78
if (win) {
79
applicationSourceCoverage = win.__coverage__
80
}
0 commit comments