Update type to level in debugger message spec
This commit is contained in:
parent
873e6e5e6b
commit
2f26dbf39e
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ describe('debugger module', function () {
|
||||||
}
|
}
|
||||||
w.webContents.debugger.on('message', function (e, method, params) {
|
w.webContents.debugger.on('message', function (e, method, params) {
|
||||||
if (method === 'Console.messageAdded') {
|
if (method === 'Console.messageAdded') {
|
||||||
assert.equal(params.message.type, 'log')
|
assert.equal(params.message.level, 'log')
|
||||||
assert.equal(params.message.url, url)
|
assert.equal(params.message.url, url)
|
||||||
assert.equal(params.message.text, 'a')
|
assert.equal(params.message.text, 'a')
|
||||||
w.webContents.debugger.detach()
|
w.webContents.debugger.detach()
|
||||||
|
|
Loading…
Reference in a new issue