diff --git a/test/storybook.test.js b/test/storybook.test.js index ca439050..17b4986c 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(/^Story Error\n.*\/iframe\.html.*$/s); + .toBeRejectedWithError(/^\[percy\] Error: Snapshot Name:/s); expect(logger.stderr).toEqual([ '[percy] Build not created',