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

Function printExpectedConstructorName

packages/expect/src/print.ts:88–91  ·  view source on GitHub ↗
(
  label: string,
  expected: Function,
)

Source from the content-addressed store, hash-verified

86};
87
88export const printExpectedConstructorName = (
89 label: string,
90 expected: Function,
91): string => `${printConstructorName(label, expected, false, true)}\n`;
92
93export const printExpectedConstructorNameNot = (
94 label: string,

Callers 2

toBeInstanceOfFunction · 0.90
toThrowExpectedClassFunction · 0.90

Calls 1

printConstructorNameFunction · 0.85

Tested by

no test coverage detected