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

Function makeSpec

packages/jest-jasmine2/src/__tests__/collectSpecs.test.ts:16–19  ·  view source on GitHub ↗
(description: string, fullName?: string)

Source from the content-addressed store, hash-verified

14} from '..';
15
16const makeSpec = (description: string, fullName?: string): SpecLike => ({
17 description,
18 getFullName: () => fullName ?? description,
19});
20
21const makeSuite = (
22 description: string,

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected