mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
chore(deps): update API and related (#65923)
This commit is contained in:
committed by
GitHub
parent
f8de1e2ce8
commit
cabe5396f2
@@ -102,7 +102,7 @@ describe('Cookie updates', () => {
|
||||
}
|
||||
});
|
||||
|
||||
expect(res.cookies[0]).toStrictEqual({
|
||||
expect(res.cookies[0]).toEqual({
|
||||
domain: 'www.example.com',
|
||||
httpOnly: true,
|
||||
name: 'cookie_name',
|
||||
|
||||
@@ -90,7 +90,7 @@ describe('cookies', () => {
|
||||
});
|
||||
|
||||
// No max-age, so we default to a session cookie.
|
||||
expect(res.cookies[0]).toStrictEqual({
|
||||
expect(res.cookies[0]).toEqual({
|
||||
name: 'test',
|
||||
// defaults:
|
||||
domain: 'www.example.com',
|
||||
|
||||
Reference in New Issue
Block a user