diff options
Diffstat (limited to 'packages/taler-wallet-webextension/src/wallet/CreateManualWithdraw.test.ts')
-rw-r--r-- | packages/taler-wallet-webextension/src/wallet/CreateManualWithdraw.test.ts | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/packages/taler-wallet-webextension/src/wallet/CreateManualWithdraw.test.ts b/packages/taler-wallet-webextension/src/wallet/CreateManualWithdraw.test.ts index a5174bef9..0fb125147 100644 --- a/packages/taler-wallet-webextension/src/wallet/CreateManualWithdraw.test.ts +++ b/packages/taler-wallet-webextension/src/wallet/CreateManualWithdraw.test.ts @@ -40,8 +40,7 @@ describe("CreateManualWithdraw states", () => { ); if (!result.current) { - expect(result.current).not.to.be.undefined; - return; + expect.fail("hook didn't render"); } expect(result.current.noExchangeFound).equal(true) @@ -53,8 +52,7 @@ describe("CreateManualWithdraw states", () => { ); if (!result.current) { - expect(result.current).not.to.be.undefined; - return; + expect.fail("hook didn't render"); } expect(result.current.noExchangeFound).equal(true) @@ -67,8 +65,7 @@ describe("CreateManualWithdraw states", () => { ); if (!result.current) { - expect(result.current).not.to.be.undefined; - return; + expect.fail("hook didn't render"); } expect(result.current.exchange.value).equal("url1") @@ -80,8 +77,7 @@ describe("CreateManualWithdraw states", () => { ); if (!result.current) { - expect(result.current).not.to.be.undefined; - return; + expect.fail("hook didn't render"); } expect(result.current.exchange.value).equal("url2") |