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 78e2215 commit 43546c1
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 @@ -127,7 +127,7 @@ test('Set cookie with expires', (assert) => {
const done = assert.async();

setTimeout(() => {
// It looks like Chrome is caching document.cookie and value is not updated,
// 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`
clearCookie('dummyCookie');
assert.strictEqual(document.cookie.includes(cName), false, 'Cookie name has been deleted');
Expand Down

0 comments on commit 43546c1

Please sign in to comment.