0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-02-17 22:44:24 -05:00

chore: fix test that was failing (#10101)

* chore: fix test that was failing

* change assertion
This commit is contained in:
Emanuele Stoppa 2024-02-13 15:28:38 +00:00 committed by GitHub
parent b742646d4e
commit 11639b120d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -84,7 +84,7 @@ describe('endpoints', () => {
}); });
}); });
it('Headers with multisple values (set-cookie special case)', async () => { it('Headers with multiple values (set-cookie special case)', async () => {
const { req, res, done } = createRequestAndResponse({ const { req, res, done } = createRequestAndResponse({
method: 'GET', method: 'GET',
url: '/streaming', url: '/streaming',
@ -100,6 +100,6 @@ describe('endpoints', () => {
await done; await done;
assert.deepEqual(locals, { cancelledByTheServer: true }); assert.equal(locals.cancelledByTheServer, true);
}); });
}); });