Skip to content

Commit e9bbe86

Browse files
author
Yui T
committed
Address comment: fix comment
1 parent f82c45e commit e9bbe86

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

scripts/mocha-parallel.js

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -220,9 +220,18 @@ function runTests(taskConfigsFolder, run, options, cb) {
220220
stats.tests += partition.tests;
221221
duration += partition.duration;
222222
if (partition.catastrophicError !== "") {
223-
//{"light":false,
224-
// "tasks":[{"runner":"compiler","files":["tests/cases/compiler/es6ImportNamedImportParsingError.ts"]}],
225-
// "runUnitTests":false}
223+
// Partition is written out to a temporary file as a JSON object.
224+
// Below is an example of how the partition JSON object looks like
225+
// {
226+
// "light":false,
227+
// "tasks":[
228+
// {
229+
// "runner":"compiler",
230+
// "files":["tests/cases/compiler/es6ImportNamedImportParsingError.ts"]
231+
// }
232+
// ],
233+
// "runUnitTests":false
234+
// }
226235
var jsonText = fs.readFileSync(partition.file);
227236
var configObj = JSON.parse(jsonText);
228237
if (configObj.tasks && configObj.tasks[0]) {

0 commit comments

Comments
 (0)