MCPcopy Index your code
hub / github.com/angular/components / _isTestHarness

Method _isTestHarness

tools/dgeni/processors/categorizer.ts:238–240  ·  view source on GitHub ↗

* Whether the given class doc is considered a test harness. We naively detect * test harness classes by checking the inheritance chain for "ComponentHarness".

(doc: CategorizedClassDoc)

Source from the content-addressed store, hash-verified

236 * test harness classes by checking the inheritance chain for "ComponentHarness".
237 */
238 private _isTestHarness(doc: CategorizedClassDoc): boolean {
239 return doc.inheritedDocs.some(d => d.name === 'ComponentHarness');
240 }
241}
242
243/** Filters any duplicate classDoc members from an array */

Callers 1

_decorateClassDocMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected