Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 96ed883

Browse filesBrowse files
TrottMyles Borins
authored andcommitted
test: enable test-debug-brk-no-arg
Fix issues with disabled test-debug-brk-no-arg and re-enable the test. PR-URL: #7143 Reviewed-By: Fedor Indutny <fedor@indutny.com>
1 parent ef37a2e commit 96ed883
Copy full SHA for 96ed883

File tree

Expand file treeCollapse file tree

2 files changed

+13
-15
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

2 files changed

+13
-15
lines changed
Open diff view settings
Collapse file

‎test/disabled/test-debug-brk-no-arg.js‎

Copy file name to clipboardExpand all lines: test/disabled/test-debug-brk-no-arg.js
-15Lines changed: 0 additions & 15 deletions
This file was deleted.
Collapse file
+13Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
'use strict';
2+
const common = require('../common');
3+
const assert = require('assert');
4+
const spawn = require('child_process').spawn;
5+
6+
const child = spawn(process.execPath, ['--debug-brk=' + common.PORT, '-i']);
7+
child.stderr.once('data', common.mustCall(function() {
8+
child.stdin.end('.exit');
9+
}));
10+
11+
child.on('exit', common.mustCall(function(c) {
12+
assert.strictEqual(c, 0);
13+
}));

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.