feat: merge exisiting headers with ones loader/action sets #473
test-pr.yml
on: pull_request
test
/
⚙️ Build
27s
Matrix: test / test
Annotations
6 errors
__tests__/index.test.ts > fastify createRequestHandler > basic requests > sets headers:
packages/remix-fastify/__tests__/index.test.ts#L159
AssertionError: expected [ …(7) ] to deeply equal [ …(3) ]
- Expected
+ Received
Array [
"first=one; Expires=0; Path=/; HttpOnly; Secure; SameSite=Lax",
+ "first=one; Expires=0; Path=/; HttpOnly; Secure; SameSite=Lax",
+ "second=two; MaxAge=1209600; Path=/; HttpOnly; Secure; SameSite=Lax",
+ "first=one; Expires=0; Path=/; HttpOnly; Secure; SameSite=Lax",
+ "first=one; Expires=0; Path=/; HttpOnly; Secure; SameSite=Lax",
"second=two; MaxAge=1209600; Path=/; HttpOnly; Secure; SameSite=Lax",
"third=three; Expires=Wed, 21 Oct 2015 07:28:00 GMT; Path=/; HttpOnly; Secure; SameSite=Lax",
]
❯ __tests__/index.test.ts:159:46
|
test / ubuntu-latest | latest
Process completed with exit code 1.
|
__tests__/index.test.ts > fastify createRequestHandler > basic requests > sets headers:
packages/remix-fastify/__tests__/index.test.ts#L159
AssertionError: expected [ …(7) ] to deeply equal [ …(3) ]
- Expected
+ Received
Array [
"first=one; Expires=0; Path=/; HttpOnly; Secure; SameSite=Lax",
+ "first=one; Expires=0; Path=/; HttpOnly; Secure; SameSite=Lax",
+ "second=two; MaxAge=1209600; Path=/; HttpOnly; Secure; SameSite=Lax",
+ "first=one; Expires=0; Path=/; HttpOnly; Secure; SameSite=Lax",
+ "first=one; Expires=0; Path=/; HttpOnly; Secure; SameSite=Lax",
"second=two; MaxAge=1209600; Path=/; HttpOnly; Secure; SameSite=Lax",
"third=three; Expires=Wed, 21 Oct 2015 07:28:00 GMT; Path=/; HttpOnly; Secure; SameSite=Lax",
]
❯ __tests__/index.test.ts:159:46
|
test / macos-latest | latest
Process completed with exit code 1.
|
__tests__/index.test.ts > fastify createRequestHandler > basic requests > sets headers:
packages/remix-fastify/__tests__/index.test.ts#L159
AssertionError: expected [ …(7) ] to deeply equal [ …(3) ]
- Expected
+ Received
Array [
"first=one; Expires=0; Path=/; HttpOnly; Secure; SameSite=Lax",
+ "first=one; Expires=0; Path=/; HttpOnly; Secure; SameSite=Lax",
+ "second=two; MaxAge=1209600; Path=/; HttpOnly; Secure; SameSite=Lax",
+ "first=one; Expires=0; Path=/; HttpOnly; Secure; SameSite=Lax",
+ "first=one; Expires=0; Path=/; HttpOnly; Secure; SameSite=Lax",
"second=two; MaxAge=1209600; Path=/; HttpOnly; Secure; SameSite=Lax",
"third=three; Expires=Wed, 21 Oct 2015 07:28:00 GMT; Path=/; HttpOnly; Secure; SameSite=Lax",
]
❯ __tests__/index.test.ts:159:46
|
test / windows-latest | latest
Process completed with exit code 1.
|