mirror of
https://github.com/electron/electron.git
synced 2026-02-19 03:14:51 -05:00
fix: cookie test failing due to multiple rejection reasons
https://chromium-review.googlesource.com/c/chromium/src/+/7506629
This commit is contained in:
@@ -381,7 +381,7 @@ describe('net module (session)', () => {
|
||||
url: 'https://electronjs.org',
|
||||
domain: 'wssss.iamabaddomain.fun',
|
||||
name: 'cookie1'
|
||||
})).to.eventually.be.rejectedWith(/Failed to set cookie - The cookie was set with an invalid Domain attribute./);
|
||||
})).to.eventually.be.rejectedWith(/The cookie was set with an invalid Domain attribute/);
|
||||
});
|
||||
|
||||
it('should be able correctly filter out cookies that are session', async () => {
|
||||
|
||||
Reference in New Issue
Block a user