MCPcopy Create free account
hub / github.com/Dart-Code/Dart-Code / suiteDiscovered

Method suiteDiscovered

src/shared/test/test_model.ts:434–441  ·  view source on GitHub ↗
(dartCodeDebugSessionID: string | undefined, suitePath: string)

Source from the content-addressed store, hash-verified

432 }
433
434 public suiteDiscovered(dartCodeDebugSessionID: string | undefined, suitePath: string): SuiteData {
435 const [suite] = this.getOrCreateSuite(suitePath);
436 this.updateNode({ node: suite.node });
437
438 this.testEventListeners.forEach((l) => l.suiteDiscovered(dartCodeDebugSessionID, suite.node));
439
440 return suite;
441 }
442
443 /**
444 * Handles when a suite is discovered during a test run.

Callers 1

Calls 3

getOrCreateSuiteMethod · 0.95
updateNodeMethod · 0.95
suiteDiscoveredMethod · 0.65

Tested by

no test coverage detected