tslint
This commit is contained in:
Родитель
0c2a187c95
Коммит
83c686c411
|
@ -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 {
|
||||
|
|
Загрузка…
Ссылка в новой задаче