3.8.0
- Intentionally passing
undefined
totoHaveState
andtoHaveProps
now compares on the undefined value. (@DianaSuvorova)
Example:
expect(wrapper).toHaveState('key', undefined);
undefined
to toHaveState
and toHaveProps
now compares on the undefined value. (@DianaSuvorova)Example:
expect(wrapper).toHaveState('key', undefined);