Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
flotwig committed Jun 25, 2020
1 parent 1687f57 commit aea2159
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions packages/server/test/unit/gui/events_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -195,8 +195,6 @@ describe('lib/gui/events', () => {
})

context('window', () => {
let fakeWindows

describe('window:open', () => {
beforeEach(function () {
this.options.projectRoot = '/path/to/my/project'
Expand All @@ -207,14 +205,6 @@ describe('lib/gui/events', () => {
loadURL () {},
webContents: {},
})

this.options.windowOpenFn =

fakeWindows = {
create: sinon.stub(),
}

fakeWindows.create.withArgs(this.options.projectRoot).returns(this.win)
})

it('calls windowOpenFn with args and resolves with return', function () {
Expand Down

0 comments on commit aea2159

Please sign in to comment.