1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-08-06 12:02:40 +03:00

Fix Node 19 compatibility and run CI against it (#2842)

This commit is contained in:
Michael Telatynski
2022-11-08 14:01:06 +00:00
committed by GitHub
parent bd4589fcc4
commit 1c901e3137
11 changed files with 57 additions and 63 deletions

View File

@@ -28,6 +28,8 @@ import {
import { sleep } from "../../../src/utils";
jest.mock("../../../src/utils");
// setupTests mocks `timeoutSignal` due to hanging timers
jest.unmock("../../../src/http-api/utils");
describe("timeoutSignal", () => {
jest.useFakeTimers();