Skip to content

Commit

Permalink
test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
prklm10 committed Nov 27, 2024
1 parent 9d79cc8 commit 75241e1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/storybook.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 75241e1

Please sign in to comment.