Skip to content

Commit

Permalink
fix: clarify tests
Browse files Browse the repository at this point in the history
  • Loading branch information
agerard-godaddy committed Nov 26, 2024
1 parent 701497c commit 5db1bc3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/gasket-request/test/request.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ describe('makeGasketRequest', () => {
expect(result.query).toEqual({});
});

it('handles CookieStore for cookies', async () => {
it('handles Next15 style CookieStore for cookies', async () => {
const headers = new Map([['header1', 'value1'], ['header2', 'value2']]);
const cookieStore = new MockCookieStore([
{ name: 'cookie1', value: 'value1' },
Expand All @@ -102,7 +102,7 @@ describe('makeGasketRequest', () => {
expect(result.cookies).toEqual({ cookie1: 'value1', cookie2: 'value2' });
});

it('handles cookie store shapes getAll', async () => {
it('handles Next14 style CookieStore for cookies', async () => {
const headers = new Map([['header1', 'value1'], ['header2', 'value2']]);
const cookieStore = {
getAll() {
Expand Down

0 comments on commit 5db1bc3

Please sign in to comment.