From 3cc890719ecf318b14a6b6f5a93274e8ec8248c1 Mon Sep 17 00:00:00 2001 From: Marcin Gordel Date: Thu, 21 Sep 2023 18:27:47 +0200 Subject: [PATCH] test(examples): fixed yacat args --- tests/examples/examples.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/examples/examples.test.ts b/tests/examples/examples.test.ts index 0b3ae608e..1df7125ff 100644 --- a/tests/examples/examples.test.ts +++ b/tests/examples/examples.test.ts @@ -10,7 +10,7 @@ const gothStartingTimeout = 180; const goth = new Goth(gothConfig); const examples = !noGoth ? testExamples.filter((e) => !e?.noGoth) : testExamples; -const criticalLogsRegExp = [/Task *. timeot/, /Task *. has been rejected/, /ERROR: TypeError/, /ERROR: Error/]; +const criticalLogsRegExp = [/Task *. timeot/g, /Task *. has been rejected/g, /ERROR: TypeError/g, /ERROR: Error/g]; type Example = { cmd: string;