MCPcopy
hub / github.com/jestjs/jest / describeBlockHasTests

Function describeBlockHasTests

packages/jest-circus/src/utils.ts:170–175  ·  view source on GitHub ↗
(
  describe: Circus.DescribeBlock,
)

Source from the content-addressed store, hash-verified

168};
169
170export const describeBlockHasTests = (
171 describe: Circus.DescribeBlock,
172): boolean =>
173 describe.children.some(
174 child => child.type === 'test' || describeBlockHasTests(child),
175 );
176
177const _makeTimeoutMessage = (
178 timeout: number,

Callers 1

eventHandlerFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected