Add spec for Buffer global
This commit is contained in:
parent
80dad58a59
commit
70010fdb8e
5 changed files with 11 additions and 10 deletions
|
@ -801,8 +801,9 @@ describe('BrowserWindow module', function () {
|
|||
describe('"node-integration" option', function () {
|
||||
it('disables node integration when specified to false', function (done) {
|
||||
var preload = path.join(fixtures, 'module', 'send-later.js')
|
||||
ipcMain.once('answer', function (event, test) {
|
||||
assert.equal(test, 'undefined')
|
||||
ipcMain.once('answer', function (event, typeofProcess, typeofBuffer) {
|
||||
assert.equal(typeofProcess, 'undefined')
|
||||
assert.equal(typeofBuffer, 'undefined')
|
||||
done()
|
||||
})
|
||||
w.destroy()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue