aboutsummaryrefslogtreecommitdiff
path: root/test/inspector/test-inspector.js
diff options
context:
space:
mode:
authorSebastiaan Deckers <sebdeckers83@gmail.com>2017-07-10 20:55:21 -0400
committerRefael Ackermann <refack@gmail.com>2017-07-21 15:13:47 -0400
commitbb294059040def8e8c0b1719cc17f6537ab5cb39 (patch)
treeacc6b7bcf88da8e6078fa5ab91f6718289f32bbf /test/inspector/test-inspector.js
parent4f875222445b07016a8294fa5a5bf7418c735489 (diff)
downloadandroid-node-v8-bb294059040def8e8c0b1719cc17f6537ab5cb39.tar.gz
android-node-v8-bb294059040def8e8c0b1719cc17f6537ab5cb39.tar.bz2
android-node-v8-bb294059040def8e8c0b1719cc17f6537ab5cb39.zip
lib,src: fix consistent spacing inside braces
PR-URL: https://github.com/nodejs/node/pull/14162 Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Timothy Gu <timothygu99@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'test/inspector/test-inspector.js')
-rw-r--r--test/inspector/test-inspector.js14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/inspector/test-inspector.js b/test/inspector/test-inspector.js
index 313fba9bd9..9d5cf9aa3a 100644
--- a/test/inspector/test-inspector.js
+++ b/test/inspector/test-inspector.js
@@ -103,14 +103,14 @@ function testBreakpointOnStart(session) {
{ 'method': 'Runtime.enable' },
{ 'method': 'Debugger.enable' },
{ 'method': 'Debugger.setPauseOnExceptions',
- 'params': {'state': 'none'} },
+ 'params': { 'state': 'none' } },
{ 'method': 'Debugger.setAsyncCallStackDepth',
- 'params': {'maxDepth': 0} },
+ 'params': { 'maxDepth': 0 } },
{ 'method': 'Profiler.enable' },
{ 'method': 'Profiler.setSamplingInterval',
- 'params': {'interval': 100} },
+ 'params': { 'interval': 100 } },
{ 'method': 'Debugger.setBlackboxPatterns',
- 'params': {'patterns': []} },
+ 'params': { 'patterns': [] } },
{ 'method': 'Runtime.runIfWaitingForDebugger' }
];
@@ -129,7 +129,7 @@ function testSetBreakpointAndResume(session) {
'condition': ''
}
},
- { 'method': 'Debugger.resume'},
+ { 'method': 'Debugger.resume' },
[ { 'method': 'Debugger.getScriptSource',
'params': { 'scriptId': session.mainScriptId } },
expectMainScriptSource ],
@@ -155,7 +155,7 @@ function testInspectScope(session) {
'accessorPropertiesOnly': false,
'generatePreview': true
}
- }, setupExpectScopeValues({t: 1001, k: 1})
+ }, setupExpectScopeValues({ t: 1001, k: 1 })
],
[
{
@@ -211,7 +211,7 @@ function testI18NCharacters(session) {
function testWaitsForFrontendDisconnect(session, harness) {
console.log('[test]', 'Verify node waits for the frontend to disconnect');
- session.sendInspectorCommands({ 'method': 'Debugger.resume'})
+ session.sendInspectorCommands({ 'method': 'Debugger.resume' })
.expectMessages(setupExpectContextDestroyed(1))
.expectStderrOutput('Waiting for the debugger to disconnect...')
.disconnect(true);