diff options
test - unit - ui - actions - setCompletedOnboarding - fix stub to call callback
Diffstat (limited to 'test')
-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(() => { |