aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorkumavis <aaron@kumavis.me>2019-03-29 13:10:42 +0800
committerkumavis <aaron@kumavis.me>2019-03-29 13:10:42 +0800
commited381f5b2a3a85d351248769b3d150742acb703b (patch)
treee5012715ec9a4aa3d67add2fe25e53d8b4509652 /test
parent02585c0bd023b379778fb850e53eecb9c45e5509 (diff)
downloadtangerine-wallet-browser-ed381f5b2a3a85d351248769b3d150742acb703b.tar
tangerine-wallet-browser-ed381f5b2a3a85d351248769b3d150742acb703b.tar.gz
tangerine-wallet-browser-ed381f5b2a3a85d351248769b3d150742acb703b.tar.bz2
tangerine-wallet-browser-ed381f5b2a3a85d351248769b3d150742acb703b.tar.lz
tangerine-wallet-browser-ed381f5b2a3a85d351248769b3d150742acb703b.tar.xz
tangerine-wallet-browser-ed381f5b2a3a85d351248769b3d150742acb703b.tar.zst
tangerine-wallet-browser-ed381f5b2a3a85d351248769b3d150742acb703b.zip
test - unit - ui - actions - setCompletedOnboarding - fix stub to call callback
Diffstat (limited to 'test')
-rw-r--r--test/unit/ui/app/actions.spec.js2
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(() => {