From 5f87b07c2b7ea20e18e1606405ed9813c7260b89 Mon Sep 17 00:00:00 2001 From: Jeffrey Morgan Date: Wed, 27 May 2015 18:39:16 -0700 Subject: [PATCH] fixing unit test --- __tests__/SetupStore-test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/__tests__/SetupStore-test.js b/__tests__/SetupStore-test.js index ef9daa1d59..5c693c7331 100644 --- a/__tests__/SetupStore-test.js +++ b/__tests__/SetupStore-test.js @@ -40,7 +40,7 @@ describe('SetupStore', function () { pit('installs virtualbox if it is not installed', function () { virtualBox.installed.mockReturnValue(false); util.exec.mockReturnValue(Promise.resolve()); - return setupStore.steps().install.run().then(() => { + return setupStore.steps().install.run(() => {}).then(() => { expect(virtualBox.killall).toBeCalled(); expect(setupUtil.installVirtualBoxCmd).toBeCalled(); });