We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e0cc379 commit 5911adcCopy full SHA for 5911adc
1 file changed
test/logging.test.js
@@ -3,6 +3,8 @@ import os from "node:os";
3
import path from "node:path";
4
import { stripVTControlCharacters } from "node:util";
5
6
+jest.useFakeTimers({ doNotFake: ["process", "nextTick"] });
7
+
8
function extractErrorEntry(string) {
9
const matches = string.match(/error:\s\D[^:||\n||\r]+/gim);
10
0 commit comments