Skip to content

Commit

Permalink
ci: skip test in 18.14.1
Browse files Browse the repository at this point in the history
  • Loading branch information
natemoo-re committed Feb 23, 2023
1 parent 8a35680 commit ec9ccfb
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/astro/test/astro-cookies.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,11 @@ describe('Astro.cookies', () => {
method: 'POST',
});
expect(response.status).to.equal(200);
expect(response.headers.has('set-cookie')).to.equal(true);
// Bug in 18.14.1 where `set-cookie` will not be defined
// Should be fixed in 18.14.2
if (process.versions.node !== '18.14.1') {
expect(response.headers.has('set-cookie')).to.equal(true);
}
});
});

Expand Down

0 comments on commit ec9ccfb

Please sign in to comment.