Skip to content

Commit 5911adc

Browse files
test: fix
1 parent e0cc379 commit 5911adc

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

test/logging.test.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ import os from "node:os";
33
import path from "node:path";
44
import { stripVTControlCharacters } from "node:util";
55

6+
jest.useFakeTimers({ doNotFake: ["process", "nextTick"] });
7+
68
function extractErrorEntry(string) {
79
const matches = string.match(/error:\s\D[^:||\n||\r]+/gim);
810

0 commit comments

Comments
 (0)