Skip to content

Commit 19af0ed

Browse files
committed
Update Mockttp for HTTP/2 support
1 parent 5c1cef7 commit 19af0ed

File tree

3 files changed

+70
-14
lines changed

3 files changed

+70
-14
lines changed

package-lock.json

Lines changed: 67 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
"graphql": "^14.0.2",
4949
"graphql-yoga": "^1.18.1",
5050
"lodash": "^4.17.19",
51-
"mockttp": "^0.20.4",
51+
"mockttp": "^0.21.0",
5252
"node-fetch": "^2.6.0",
5353
"node-forge": "^0.9.0",
5454
"node-gsettings-wrapper": "^0.5.0",

test/integration-test.spec.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ describe('Integration test', function () {
7373
serverProcess.stderr!.on('data', (d) => {
7474
// Some nodes warn about fs.promises - ignore it.
7575
if (d.toString().includes('ExperimentalWarning: The fs.promises API')) return;
76+
// We use _stream_wrap, in some node versions this is deprecated, for now ignore it
77+
if (d.toString().includes('The _stream_wrap module is deprecated')) return;
7678

7779
reject();
7880
stderr = stderr + d.toString();

0 commit comments

Comments
 (0)