build: update to standard 14 (#24479)
This commit is contained in:
parent
9bd0fc5348
commit
eb6616e4e9
37 changed files with 495 additions and 665 deletions
|
@ -105,7 +105,7 @@ describe('session module', () => {
|
|||
});
|
||||
}
|
||||
|
||||
it(`fails to set cookies with samesite=garbage`, async () => {
|
||||
it('fails to set cookies with samesite=garbage', async () => {
|
||||
const { cookies } = session.defaultSession;
|
||||
const value = 'hithere';
|
||||
await expect(cookies.set({ url, value, sameSite: 'garbage' as any })).to.eventually.be.rejectedWith('Failed to convert \'garbage\' to an appropriate cookie same site value');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue