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

Method toBeDefined

packages/expect/src/types.ts:163–163  ·  view source on GitHub ↗

* Ensure that a variable is not undefined.

()

Source from the content-addressed store, hash-verified

161 * Ensure that a variable is not undefined.
162 */
163 toBeDefined(): R;
164 /**
165 * When you don't care what a value is, you just want to
166 * ensure a value is false in a boolean context.

Calls

no outgoing calls

Tested by 1

defineTestsFunction · 0.64