Skip to content

Commit b98db40

Browse files
authored
chore(package): upgrade mockttp to 3.4.0 (#841)
1 parent 2cced43 commit b98db40

File tree

3 files changed

+307
-301
lines changed

3 files changed

+307
-301
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
"husky": "7.0.4",
7575
"jest": "29.0.2",
7676
"lint-staged": "12.3.8",
77-
"mockttp": "2.7.0",
77+
"mockttp": "3.4.0",
7878
"open": "8.4.0",
7979
"prettier": "2.6.2",
8080
"supertest": "6.2.2",

test/e2e/router.spec.ts

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,9 @@ describe('E2E router', () => {
2626
targetPortB = await getPort();
2727
targetPortC = await getPort();
2828

29-
await targetServerA
30-
.forAnyRequest()
31-
.thenPassThrough({ ignoreHostCertificateErrors: ['localhost'] });
32-
await targetServerB
33-
.forAnyRequest()
34-
.thenPassThrough({ ignoreHostCertificateErrors: ['localhost'] });
35-
await targetServerC
36-
.forAnyRequest()
37-
.thenPassThrough({ ignoreHostCertificateErrors: ['localhost'] });
29+
await targetServerA.forAnyRequest().thenPassThrough({ ignoreHostHttpsErrors: ['localhost'] });
30+
await targetServerB.forAnyRequest().thenPassThrough({ ignoreHostHttpsErrors: ['localhost'] });
31+
await targetServerC.forAnyRequest().thenPassThrough({ ignoreHostHttpsErrors: ['localhost'] });
3832

3933
await targetServerA
4034
.forAnyRequest()

0 commit comments

Comments
 (0)