Skip to content

3.8.0

Compare
Choose a tag to compare
@blainekasten blainekasten released this 17 Aug 15:42
· 128 commits to master since this release
  • Intentionally passing undefined to toHaveState and toHaveProps now compares on the undefined value. (@DianaSuvorova)

Example:

expect(wrapper).toHaveState('key', undefined);