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

Function printExpectedConstructorNameNot

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

Source from the content-addressed store, hash-verified

91): string => `${printConstructorName(label, expected, false, true)}\n`;
92
93export const printExpectedConstructorNameNot = (
94 label: string,
95 expected: Function,
96): string => `${printConstructorName(label, expected, true, true)}\n`;
97
98export const printReceivedConstructorName = (
99 label: string,

Callers 2

toBeInstanceOfFunction · 0.90
toThrowExpectedClassFunction · 0.90

Calls 1

printConstructorNameFunction · 0.85

Tested by

no test coverage detected