Skip to content

Commit

Permalink
Don't stringify js errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
StevenDufresne committed Mar 3, 2021
1 parent ad0ae10 commit f97655e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions actions/ui-check/tests/e2e/specs/page/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,9 @@ describe.each( urls )( 'Test URL %s%s', ( url, queryString, bodyClass ) => {
await page.goto( createURL( '/' ) );

errorWithMessageOnFail(
`Page should not contain javascript errors. Found ${ JSON.stringify(
`Page should not contain javascript errors. Found ${
jsError
) }`,
}`,
() => {
expect( jsError ).toBeFalsy();
}
Expand Down

0 comments on commit f97655e

Please sign in to comment.