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:
parent
b742646d4e
commit
11639b120d
1 changed files with 2 additions and 2 deletions
|
@ -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({
|
||||
method: 'GET',
|
||||
url: '/streaming',
|
||||
|
@ -100,6 +100,6 @@ describe('endpoints', () => {
|
|||
|
||||
await done;
|
||||
|
||||
assert.deepEqual(locals, { cancelledByTheServer: true });
|
||||
assert.equal(locals.cancelledByTheServer, true);
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue