Skip to content

Commit

Permalink
Merge pull request #19 from Syed-Ali-Abbas-Zaidi/Ali-Abbas/empty-rend…
Browse files Browse the repository at this point in the history
…er-issue

fix: empty render issue
  • Loading branch information
muselesscreator authored Jan 3, 2024
2 parents 9778bfa + 7a03b3a commit b57d120
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/testUtils/shallow.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ class ReactShallowRenderer {

isEmptyRender() {
const data = this.getRenderOutput();
return data === null;
return data === null || data === false;
}

get snapshot() {
Expand Down

0 comments on commit b57d120

Please sign in to comment.