Skip to content

Commit

Permalink
tests/scriptlets/trusted-set-cookie.test.js edited online with Bitbucket
Browse files Browse the repository at this point in the history
  • Loading branch information
scripthunter7 authored and AdamWr committed Sep 11, 2024
1 parent 870e257 commit 78e2215
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/scriptlets/trusted-set-cookie.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ test('Set cookie with expires', (assert) => {

setTimeout(() => {
// It looks like Chrome is caching document.cookie and value is not updated,
// so as a workaround we remove dummy cookie to force update of document.cookie
// so as a workaround we remove dummy cookie to force update of `document.cookie`
clearCookie('dummyCookie');
assert.strictEqual(document.cookie.includes(cName), false, 'Cookie name has been deleted');
assert.strictEqual(document.cookie.includes(cValue), false, 'Cookie value has been deleted');
Expand Down

0 comments on commit 78e2215

Please sign in to comment.