summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--gui/test/account-data-cache.spec.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/gui/test/account-data-cache.spec.ts b/gui/test/account-data-cache.spec.ts
index 71a9b458d1..4d3dfc2ed3 100644
--- a/gui/test/account-data-cache.spec.ts
+++ b/gui/test/account-data-cache.spec.ts
@@ -65,7 +65,7 @@ describe('IAccountData cache', () => {
);
cache.fetch(dummyAccountToken, {
- onFinish: spy(),
+ onFinish: () => {},
onError: (_error: Error) => {
reject();
return AccountFetchRetryAction.stop;
@@ -94,7 +94,7 @@ describe('IAccountData cache', () => {
cache.fetch(dummyAccountToken, {
onFinish: () => reject(),
- onError: spy((_error: Error) => AccountFetchRetryAction.retry),
+ onError: (_error: Error) => AccountFetchRetryAction.retry,
});
});
@@ -120,8 +120,8 @@ describe('IAccountData cache', () => {
setTimeout(resolve, 12000);
cache.fetch(dummyAccountToken, {
- onFinish: spy(),
- onError: spy((_error: Error) => AccountFetchRetryAction.stop),
+ onFinish: () => {},
+ onError: (_error: Error) => AccountFetchRetryAction.stop,
});
});