From b2503eff9ddc7c2487c382f8bf38fd8aa3ca19f0 Mon Sep 17 00:00:00 2001 From: Mariusz Nowak Date: Thu, 4 Jan 2024 16:54:53 +0100 Subject: [PATCH] custom: Update tests to respect customizations --- tests/integration/__tests__/cache.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/integration/__tests__/cache.js b/tests/integration/__tests__/cache.js index 62fc80be232e..62d9d421afef 100644 --- a/tests/integration/__tests__/cache.js +++ b/tests/integration/__tests__/cache.js @@ -230,7 +230,7 @@ describe("--cache option", () => { expect(stripAnsi(secondStdout).split("\n").filter(Boolean)).toEqual( expect.arrayContaining([ expect.stringMatching(/^a\.js .+ms$/), - expect.stringMatching(/^b\.js .+ms \(cached\)$/), + expect.stringMatching(/^b\.js .+ms$/), ]) ); }); @@ -258,7 +258,7 @@ describe("--cache option", () => { expect(stripAnsi(thirdStdout).split("\n").filter(Boolean)).toEqual( expect.arrayContaining([ expect.stringMatching(/^a\.js .+ms$/), - expect.stringMatching(/^b\.js .+ms \(cached\)$/), + expect.stringMatching(/^b\.js .+ms$/), ]) ); }); @@ -453,7 +453,7 @@ describe("--cache option", () => { expect(stripAnsi(secondStdout).split("\n").filter(Boolean)).toEqual( expect.arrayContaining([ expect.stringMatching(/^a\.js .+ms$/), - expect.stringMatching(/^b\.js .+ms \(cached\)$/), + expect.stringMatching(/^b\.js .+ms$/), ]) ); });