diff options
author | kumavis <aaron@kumavis.me> | 2019-03-29 13:10:42 +0800 |
---|---|---|
committer | kumavis <aaron@kumavis.me> | 2019-03-29 13:10:42 +0800 |
commit | ed381f5b2a3a85d351248769b3d150742acb703b (patch) | |
tree | e5012715ec9a4aa3d67add2fe25e53d8b4509652 | |
parent | 02585c0bd023b379778fb850e53eecb9c45e5509 (diff) | |
download | tangerine-wallet-browser-ed381f5b2a3a85d351248769b3d150742acb703b.tar.gz tangerine-wallet-browser-ed381f5b2a3a85d351248769b3d150742acb703b.tar.zst tangerine-wallet-browser-ed381f5b2a3a85d351248769b3d150742acb703b.zip |
test - unit - ui - actions - setCompletedOnboarding - fix stub to call callback
-rw-r--r-- | test/unit/ui/app/actions.spec.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/unit/ui/app/actions.spec.js b/test/unit/ui/app/actions.spec.js index a3b979d75..a578ec89c 100644 --- a/test/unit/ui/app/actions.spec.js +++ b/test/unit/ui/app/actions.spec.js @@ -1313,7 +1313,9 @@ describe('Actions', () => { beforeEach(() => { markAllNoticesReadSpy = sinon.stub(background, 'markAllNoticesRead') + markAllNoticesReadSpy.callsFake(cb => cb()) completeOnboardingSpy = sinon.stub(background, 'completeOnboarding') + completeOnboardingSpy.callsFake(cb => cb()) }) after(() => { |