Skip to content

Commit

Permalink
tweak test
Browse files Browse the repository at this point in the history
  • Loading branch information
stanislav-atr committed Jun 2, 2023
1 parent 799d068 commit eae25fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/scriptlets/abort-on-stack-trace.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ test('abort Math.max in injected script, but not abort inline script', (assert)
// set window.testPassed to true if script is aborted
// eslint-disable-next-line max-len
scriptElement.innerText = `try {
debugger; Math.max(10, 20);
Math.max(10, 20);
} catch(error) {
window.testPassed = true; console.log("Script aborted:", error);
}`;
Expand Down

0 comments on commit eae25fb

Please sign in to comment.