Skip to content

Commit 66a344f

Browse files
committed
Respond to feedback
1 parent 4e9cfaa commit 66a344f

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

Nodejs/Product/Nodejs/TestFrameworks/mocha/mocha.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -178,8 +178,7 @@ var run_tests = function (testCases, callback) {
178178
post({
179179
type: 'result',
180180
title: result.title,
181-
result: result,
182-
pending: false
181+
result: result
183182
});
184183
result = reset_result();
185184
});
@@ -189,8 +188,7 @@ var run_tests = function (testCases, callback) {
189188
post({
190189
type: 'result',
191190
title: result.title,
192-
result: result,
193-
pending: false
191+
result: result
194192
});
195193
result = reset_result();
196194
});

Nodejs/Product/TestAdapter/TestExecutor.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ private void ProcessTestRunnerEmit(string line)
106106
}
107107
break;
108108
case "pending":
109-
{
109+
{
110110
_currentResult = new TestResult(tests.First());
111111
RecordEnd(_frameworkHandle, tests.First(), _currentResult, testEvent.result);
112112
}
@@ -356,7 +356,7 @@ private NodejsProjectSettings LoadProjectSettings(string projectFile) {
356356
private void RecordEnd(IFrameworkHandle frameworkHandle, TestCase test, TestResult result, ResultObject resultObject) {
357357
String[] standardOutputLines = resultObject.stdout.Split('\n');
358358
String[] standardErrorLines = resultObject.stderr.Split('\n');
359-
359+
360360
if (null != resultObject.pending && (bool)resultObject.pending)
361361
{
362362
result.Outcome = TestOutcome.Skipped;

0 commit comments

Comments
 (0)