Skip to content

Commit

Permalink
Adjust snapshot for react 17
Browse files Browse the repository at this point in the history
  • Loading branch information
Timer committed Aug 28, 2020
1 parent f19ad19 commit 86b0d69
Showing 1 changed file with 3 additions and 16 deletions.
19 changes: 3 additions & 16 deletions test/integration/basic/test/error-recovery.js
Original file line number Diff line number Diff line change
Expand Up @@ -253,22 +253,9 @@ export default (context, renderViaHTTP) => {
'__WEBPACK_DEFAULT_EXPORT__',
'Unknown'
)
).toMatchInlineSnapshot(`
" 1 of 1 unhandled error
Server Error
Error: Objects are not valid as a React child (found: /search/). If you meant to render a collection of children, use an array instead.
in Unknown
in App
in Unknown
in Context.Provider
in Context.Provider
in Context.Provider
in Context.Provider
in AppContainer
This error happened while generating the page. Any console logs will be displayed in the terminal window."
`)
).toMatch(
'Objects are not valid as a React child (found: /search/). If you meant to render a collection of children, use an array instead.'
)

aboutPage.restore()

Expand Down

0 comments on commit 86b0d69

Please sign in to comment.