This commit is contained in:
Rob Lourens 2015-11-03 16:14:32 -08:00
Родитель 0c2a187c95
Коммит 83c686c411
2 изменённых файлов: 2 добавлений и 6 удалений

Просмотреть файл

@ -2,12 +2,8 @@
* Copyright (C) Microsoft Corporation. All rights reserved.
*--------------------------------------------------------*/
import * as sinon from 'sinon';
import * as mockery from 'mockery';
import * as assert from 'assert';
import * as testUtils from '../testUtils';
import * as ConsoleHelper from '../../webkit/consoleHelper';
suite('ConsoleHelper', () => {
@ -75,7 +71,7 @@ namespace Console {
parameters: params.map(param => {
const remoteObj = { type: typeof param, value: param };
if (param === null) {
remoteObj['subtype'] = 'null';
(<any>remoteObj).subtype = 'null';
}
return remoteObj;

Просмотреть файл

@ -23,7 +23,7 @@ export function formatConsoleMessage(m: WebKitProtocol.Console.Message): { text:
outputText += ': ' + m.text;
}
} else if (m.type === 'endGroup') {
outputText = 'End group'
outputText = 'End group';
} else if (m.type === 'trace') {
outputText = 'console.trace()\n' + stackTraceToString(m.stackTrace);
} else {