Ensures that value is not undefined.
undefined
Usage
const value = null;expect(value).toBeDefined(); Copy
const value = null;expect(value).toBeDefined();
Internal options that provide extra context for the matcher.
Received value.
Ensures that value is not
undefined.Usage