Skip to content

Commit

Permalink
Merge pull request #13 from openedx/bw/shallow-logging
Browse files Browse the repository at this point in the history
fix: shallow render logging
  • Loading branch information
muselesscreator authored Jun 29, 2023
2 parents dc7c275 + 99ed35c commit 95b0fab
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/testUtils/shallow.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ class ReactShallowRenderer {
out = new ReactShallowRenderer(Component);
} catch (error) {
if (!error.message.includes('ReactShallowRenderer')) {
console.log({ error });
console.log({ out });
console.log({ error, out });
}
out = ReactShallowRenderer.flatRender(Component);
}
Expand Down

0 comments on commit 95b0fab

Please sign in to comment.