MCPcopy Index your code
hub / github.com/nodejs/node / #checkNestedComment

Method #checkNestedComment

lib/internal/test_runner/runner.js:290–296  ·  view source on GitHub ↗
(comment)

Source from the content-addressed store, hash-verified

288 return this.#reportedChildren > 0 && (!this.error || this.error.failureType === kSubtestsFailed);
289 }
290 #checkNestedComment(comment) {
291 const firstSpaceIndex = StringPrototypeIndexOf(comment, ' ');
292 if (firstSpaceIndex === -1) return false;
293 const secondSpaceIndex = StringPrototypeIndexOf(comment, ' ', firstSpaceIndex + 1);
294 return secondSpaceIndex === -1 &&
295 ArrayPrototypeIncludes(kDiagnosticsFilterArgs, StringPrototypeSlice(comment, 0, firstSpaceIndex));
296 }
297 #handleReportItem(item) {
298 const isTopLevel = item.data.nesting === 0;
299 if (isTopLevel) {

Callers 1

#handleReportItemMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected