Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
malept committed Nov 17, 2018
1 parent 6c8b70c commit ef43f0d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/maker/dmg/test/MakerDMG_spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ describe('MakerDMG', () => {

beforeEach(() => {
ensureFileStub = stub().returns(Promise.resolve());
eidStub = stub().callsArg(1);
eidStub = stub().returns(Promise.resolve({ dmgPath: '/path/to/dmg' }));
renameStub = stub().returns(Promise.resolve());
config = {};

MakerDMG = proxyquire.noPreserveCache().noCallThru().load('../src/MakerDMG', {
'../../util/ensure-output': { ensureFile: ensureFileStub },
'electron-installer-dmg': eidStub,
'electron-installer-dmg': { p: eidStub },
'fs-extra': {
rename: renameStub,
},
Expand Down

0 comments on commit ef43f0d

Please sign in to comment.