diff options
| author | Oskar Nyberg <oskar@mullvad.net> | 2020-04-07 11:56:59 +0200 |
|---|---|---|
| committer | Oskar Nyberg <oskar@mullvad.net> | 2020-04-07 11:56:59 +0200 |
| commit | b22ad3aa90f13832f2228e740dda02b4b045aa85 (patch) | |
| tree | 3489fb232c264d2f934cd0032e154ee1a5fa232e /gui/test | |
| parent | 70a16d19abbdc4d879494364287466601c003a9e (diff) | |
| download | mullvadvpn-b22ad3aa90f13832f2228e740dda02b4b045aa85.tar.xz mullvadvpn-b22ad3aa90f13832f2228e740dda02b4b045aa85.zip | |
Remove unused spies
Diffstat (limited to 'gui/test')
| -rw-r--r-- | gui/test/account-data-cache.spec.ts | 8 |
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, }); }); |
