Skip to content

Commit

Permalink
chore(package): upgrade mockttp to 3.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
chimurai committed Oct 23, 2022
1 parent 2cced43 commit 708991e
Show file tree
Hide file tree
Showing 3 changed files with 307 additions and 301 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
"husky": "7.0.4",
"jest": "29.0.2",
"lint-staged": "12.3.8",
"mockttp": "2.7.0",
"mockttp": "3.4.0",
"open": "8.4.0",
"prettier": "2.6.2",
"supertest": "6.2.2",
Expand Down
12 changes: 3 additions & 9 deletions test/e2e/router.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,9 @@ describe('E2E router', () => {
targetPortB = await getPort();
targetPortC = await getPort();

await targetServerA
.forAnyRequest()
.thenPassThrough({ ignoreHostCertificateErrors: ['localhost'] });
await targetServerB
.forAnyRequest()
.thenPassThrough({ ignoreHostCertificateErrors: ['localhost'] });
await targetServerC
.forAnyRequest()
.thenPassThrough({ ignoreHostCertificateErrors: ['localhost'] });
await targetServerA.forAnyRequest().thenPassThrough({ ignoreHostHttpsErrors: ['localhost'] });
await targetServerB.forAnyRequest().thenPassThrough({ ignoreHostHttpsErrors: ['localhost'] });
await targetServerC.forAnyRequest().thenPassThrough({ ignoreHostHttpsErrors: ['localhost'] });

await targetServerA
.forAnyRequest()
Expand Down
Loading

0 comments on commit 708991e

Please sign in to comment.