spec: Fix BrowserWindow.capturePage
This commit is contained in:
parent
353b485202
commit
faf40457c5
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ describe 'browser-window module', ->
|
|||
describe 'BrowserWindow.capturePage(rect, callback)', ->
|
||||
it 'calls the callback with a Buffer', (done) ->
|
||||
w.capturePage {x: 0, y: 0, width: 100, height: 100}, (image) ->
|
||||
assert.equal image.constructor.name, 'Buffer'
|
||||
assert.equal image.isEmpty(), true
|
||||
done()
|
||||
|
||||
describe 'BrowserWindow.setSize(width, height)', ->
|
||||
|
|
Loading…
Reference in a new issue