Skip to content

Commit fcb5915

Browse files
committed
chore(test): remove added fields in later msw version
1 parent 56915a7 commit fcb5915

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/pactFromMswServer.msw.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,13 +143,13 @@ describe("API - With MSW mock generating a pact", () => {
143143
expect(pactResults[0].interactions[0].request.headers).toEqual({
144144
accept: "application/json, text/plain, */*",
145145
authorization: expect.any(String),
146-
connection: expect.any(String),
146+
// connection: expect.any(String),
147147
"user-agent": expect.any(String),
148148
});
149149
expect(pactResults[0].interactions[0].response.status).toEqual(200);
150150

151151
expect(pactResults[0].interactions[0].response.headers).toEqual({
152-
"content-length": expect.any(String),
152+
// "content-length": expect.any(String),
153153
"content-type": "application/json",
154154
});
155155
expect(pactResults[0].interactions[0].response.body).toEqual([

0 commit comments

Comments
 (0)