Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pankaj443 committed Jul 18, 2024
1 parent ebe5e94 commit a01b431
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/storybook.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,6 @@ describe('percy storybook', () => {

// contains logs of story error
expect(logger.stderr).toEqual([
'[percy] Retrying Story: foo: bar',
'[percy] Retrying Story: foo: bar',
'[percy] Failed to capture story: foo: bar',
// error logs contain the client stack trace
jasmine.stringMatching(/^\[percy\] Error: Story Error\n.*\/iframe\.html.*$/s),
Expand Down Expand Up @@ -271,6 +269,8 @@ describe('percy storybook', () => {

// contains logs of story error
expect(logger.stderr).toEqual([
'[percy] Retrying Story: foo: bar',
'[percy] Retrying Story: foo: bar',
'[percy] Failed to capture story: foo: bar',
// error logs contain the client stack trace
jasmine.stringMatching(/^\[percy\] Error: Story Error\n.*\/iframe\.html.*$/s),
Expand Down

0 comments on commit a01b431

Please sign in to comment.