From 75241e1f17ac86a6db59f80fa48d0d481ae0799c Mon Sep 17 00:00:00 2001 From: prklm10 Date: Wed, 27 Nov 2024 10:49:53 +0530 Subject: [PATCH] test fix --- test/storybook.test.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/storybook.test.js b/test/storybook.test.js index 41411184..6f974b43 100644 --- a/test/storybook.test.js +++ b/test/storybook.test.js @@ -173,8 +173,7 @@ describe('percy storybook', () => { await expectAsync(storybook(['http://localhost:8000'])) // message contains the client stack trace - /^Story Error\n.*\/iframe\.html.*$/s - .toBeRejectedWithError(/^Snapshot Name: *: Story Error\n.*\/iframe\.html.*$/s); + .toBeRejectedWithError(/Story Error\n.*\/iframe\.html.*$/s); expect(logger.stderr).toEqual([ '[percy] Build not created',