MCPcopy
hub / github.com/facebook/react / toThrow

Method toThrow

scripts/jest/typescript/jest.d.ts:23–23  ·  view source on GitHub ↗
(message?: string)

Source from the content-addressed store, hash-verified

21interface Expect {
22 not: Expect;
23 toThrow(message?: string): void;
24 toThrowError(message?: string): void;
25 toBe(value: any): void;
26 toEqual(value: any): void;

Callers 7

envConfig-test.tsFile · 0.65
Logger-test.tsFile · 0.65
react-16.test.jsFile · 0.65
react-14.test.jsFile · 0.65
react-15.test.jsFile · 0.65
react-17.test.jsFile · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected