diff --git a/test/localserver.js b/test/localserver.js index 4afda6b..1e3cf92 100644 --- a/test/localserver.js +++ b/test/localserver.js @@ -70,7 +70,7 @@ app.get('/:filename', (req, res) => { ` + diff --git a/test/unidirectional-streams.spec.js b/test/unidirectional-streams.spec.js index 6bc0bb7..f2eee45 100644 --- a/test/unidirectional-streams.spec.js +++ b/test/unidirectional-streams.spec.js @@ -98,7 +98,7 @@ describe('unidirectional streams', function () { process.env.USE_PONYFILL === 'true' ) addpolyfill = 4000 - this.timeout(6000 + addpolyfill) + this.timeout(this.timeout() + 4000 + addpolyfill) client = new WebTransport( `${process.env.SERVER_URL}/unidirectional_server_delay_before_read`, wtOptions