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

Function throwAtFunction

packages/jest-jasmine2/src/errorOnPrivate.ts:78–83  ·  view source on GitHub ↗
(
  message: string,
  fn: (...args: Array<any>) => unknown,
)

Source from the content-addressed store, hash-verified

76}
77
78function throwAtFunction(
79 message: string,
80 fn: (...args: Array<any>) => unknown,
81) {
82 throw new ErrorWithStack(message, fn);
83}

Callers 2

installErrorOnPrivateFunction · 0.85
setFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected