Skip to content

Commit c8cd3ce

Browse files
authored
chore(deps): upgrade mockttp (#467)
1 parent 5deee3f commit c8cd3ce

File tree

3 files changed

+126
-143
lines changed

3 files changed

+126
-143
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
"husky": "^4.2.5",
6262
"jest": "^26.4.2",
6363
"lint-staged": "^10.2.13",
64-
"mockttp": "0.20.4",
64+
"mockttp": "^1.0.1",
6565
"open": "^7.2.1",
6666
"prettier": "^2.1.1",
6767
"supertest": "^4.0.2",

test/e2e/http-proxy-middleware.spec.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,6 @@ describe('E2E http-proxy-middleware', () => {
216216
const response = await agent.get(`/api/some/endpoint/index.html`).expect(200);
217217
expect(response.text).toBe('OK');
218218
expect(completedRequest.headers.host).toBe('foobar.dev');
219-
expect(completedRequest.hostname).toBe('foobar.dev');
220219
});
221220
});
222221

0 commit comments

Comments
 (0)