diff --git a/js/net/src/lite/compression.test.ts b/js/net/src/lite/compression.test.ts index c1aa151ebd9..f0434e777d4 100644 --- a/js/net/src/lite/compression.test.ts +++ b/js/net/src/lite/compression.test.ts @@ -66,7 +66,7 @@ for (const downstream of [ALPN_06, ALPN_07_WIP]) { } finally { for (const origin of [source, destination]) origin.close(); for (const peer of peers) peer.abort(); - await clock.advanceAsync(Nano.zero); + await clock.advance(Nano.zero); restore(); } });