From 7a03b3a6e8a1bc6b1f66441fa134eea59122a421 Mon Sep 17 00:00:00 2001 From: Syed Ali Abbas Zaidi Date: Wed, 3 Jan 2024 11:23:05 +0500 Subject: [PATCH] fix: empty render issue --- src/testUtils/shallow.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/testUtils/shallow.jsx b/src/testUtils/shallow.jsx index 0e11519..f918a98 100644 --- a/src/testUtils/shallow.jsx +++ b/src/testUtils/shallow.jsx @@ -63,7 +63,7 @@ class ReactShallowRenderer { isEmptyRender() { const data = this.getRenderOutput(); - return data === null; + return data === null || data === false; } get snapshot() {