diff options
Diffstat (limited to 'packages/taler-wallet-webextension/src/cta/Withdraw.test.ts')
-rw-r--r-- | packages/taler-wallet-webextension/src/cta/Withdraw.test.ts | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/packages/taler-wallet-webextension/src/cta/Withdraw.test.ts b/packages/taler-wallet-webextension/src/cta/Withdraw.test.ts index 5a28c4cf5..e26e86445 100644 --- a/packages/taler-wallet-webextension/src/cta/Withdraw.test.ts +++ b/packages/taler-wallet-webextension/src/cta/Withdraw.test.ts @@ -59,13 +59,6 @@ describe("Withdraw CTA states", () => { expect(status).equals('loading-uri') expect(hook).deep.equals({ "hasError": true, "operational": false, "message": "ERROR_NO-URI-FOR-WITHDRAWAL" }); } - await waitNextUpdate() - { - const { status, hook } = getLastResultOrThrow() - - expect(status).equals('loading-uri') - expect(hook).deep.equals({ "hasError": true, "operational": false, "message": "ERROR_NO-URI-FOR-WITHDRAWAL" }); - } await assertNoPendingUpdate() }); @@ -93,25 +86,6 @@ describe("Withdraw CTA states", () => { const { status, hook } = getLastResultOrThrow() expect(status).equals('loading-exchange') - expect(hook).undefined; - } - - await waitNextUpdate() - - { - const { status, hook } = getLastResultOrThrow() - - expect(status).equals('loading-exchange') - - expect(hook).deep.equals({ "hasError": true, "operational": false, "message": "ERROR_NO-DEFAULT-EXCHANGE" }); - } - - await waitNextUpdate() - - { - const { status, hook } = getLastResultOrThrow() - - expect(status).equals('loading-exchange') expect(hook).deep.equals({ "hasError": true, "operational": false, "message": "ERROR_NO-DEFAULT-EXCHANGE" }); } |