From 79fdf9b39c43156cf05f1662a1e21664cc243234 Mon Sep 17 00:00:00 2001 From: prklm10 Date: Tue, 26 Nov 2024 14:46:56 +0530 Subject: [PATCH] test fix --- test/storybook.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/storybook.test.js b/test/storybook.test.js index 17b4986c..2a284e3e 100644 --- a/test/storybook.test.js +++ b/test/storybook.test.js @@ -173,7 +173,7 @@ describe('percy storybook', () => { await expectAsync(storybook(['http://localhost:8000'])) // message contains the client stack trace - .toBeRejectedWithError(/^\[percy\] Error: Snapshot Name:/s); + .toBeRejectedWithError(/^Error: Snapshot Name:/s); expect(logger.stderr).toEqual([ '[percy] Build not created',