diff options
Diffstat (limited to 'packages/merchant-backoffice-ui/tests/hooks/listener.test.ts')
-rw-r--r-- | packages/merchant-backoffice-ui/tests/hooks/listener.test.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/merchant-backoffice-ui/tests/hooks/listener.test.ts b/packages/merchant-backoffice-ui/tests/hooks/listener.test.ts index 3320b044e..597243f76 100644 --- a/packages/merchant-backoffice-ui/tests/hooks/listener.test.ts +++ b/packages/merchant-backoffice-ui/tests/hooks/listener.test.ts @@ -37,8 +37,8 @@ test('listener', async () => { const { result } = renderHook(() => useListener(addWorldToTheEnd)) + expect(result.current).toBeDefined() if (!result.current) { - expect(result.current).toBeDefined() return; } |