From f71c17012f59fc2908d18a7657e10bebf8c2a98d Mon Sep 17 00:00:00 2001 From: Steven Date: Tue, 17 Oct 2023 11:26:59 -0400 Subject: [PATCH] fix regex pattern in test --- test/integration/next-image-new/app-dir/test/index.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/next-image-new/app-dir/test/index.test.ts b/test/integration/next-image-new/app-dir/test/index.test.ts index 170c7a1576063..89f6837a0f1f9 100644 --- a/test/integration/next-image-new/app-dir/test/index.test.ts +++ b/test/integration/next-image-new/app-dir/test/index.test.ts @@ -362,7 +362,7 @@ function runTests(mode) { .map((log) => log.message) .join('\n') expect(warnings).toMatch( - /Image with src "\/test\.jpg" is using deprecated "onLoadingComplete" property. Please use the "onLoad" property instead./gm + /Image with src "(.*)test(.*)jpg" is using deprecated "onLoadingComplete" property. Please use the "onLoad" property instead./gm ) })