We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b52f564 commit 31c40dcCopy full SHA for 31c40dc
test/tests.js
@@ -117,7 +117,7 @@ QUnit.test('Call to read cookie when there is another unrelated cookie with malf
117
document.cookie = 'c=v';
118
assert.strictEqual(Cookies.get('c'), 'v', 'should not throw a URI malformed exception when retrieving a single cookie');
119
assert.deepEqual(Cookies.get(), { c: 'v' }, 'should not throw a URI malformed exception when retrieving all cookies');
120
- Cookies.withConverter(unescape).remove('invalid');
+ document.cookie = 'invalid=foo; expires=Thu, 01 Jan 1970 00:00:00 GMT';
121
});
122
123
// github.com/js-cookie/js-cookie/issues/145
0 commit comments