Skip to content

Commit

Permalink
no deprecated helper startsWith() usage
Browse files Browse the repository at this point in the history
  • Loading branch information
slavaleleka committed May 16, 2023
1 parent a0e0db1 commit 8bd6739
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/scriptlets/prevent-xhr.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ if (isSupported) {
}
// eslint-disable-next-line max-len
const EXPECTED_LOG_STR = `${name}: xhr( method:"${METHOD}" url:"${URL}" async:"undefined" user:"undefined" password:"undefined" )`;
assert.ok(startsWith(input, EXPECTED_LOG_STR), 'console.hit input');
assert.ok(input.startsWith(EXPECTED_LOG_STR), 'console.hit input');
};

runScriptlet(name);
Expand Down

0 comments on commit 8bd6739

Please sign in to comment.