mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Update type to level in debugger message spec
This commit is contained in:
committed by
Birunthan Mohanathas
parent
873e6e5e6b
commit
2f26dbf39e
@@ -102,7 +102,7 @@ describe('debugger module', function () {
|
||||
}
|
||||
w.webContents.debugger.on('message', function (e, method, params) {
|
||||
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.text, 'a')
|
||||
w.webContents.debugger.detach()
|
||||
|
||||
Reference in New Issue
Block a user