Skip to content

Releases: enzymejs/enzyme-matchers

4.0.2

28 Dec 04:28
Compare
Choose a tag to compare
  • Update enzyme-to-json to support React 16.2 (@rtymchyk)

4.0.1

09 Oct 15:46
Compare
Choose a tag to compare
  • Remove the dependency on @types/react (@Vinnl)

4.0.0

27 Sep 21:37
Compare
Choose a tag to compare
  • Support React 16 and Enzyme 3 (@blainekasten)
  • Remove beforeEnter call for jest-enzyme and just add the matchers once. (@mockdeep)

3.8.3

18 Sep 13:40
Compare
Choose a tag to compare
  • Fix missing flow annotation that caused issues with flow 0.54. (@fabiob)

3.8.2

05 Sep 16:45
Compare
Choose a tag to compare

3.8.1

29 Aug 13:19
Compare
Choose a tag to compare
  • Fix a bug that prevents this library from working with Jest 21+. (@nigelzor)

3.8.0

17 Aug 15:42
Compare
Choose a tag to compare
  • Intentionally passing undefined to toHaveState and toHaveProps now compares on the undefined value. (@DianaSuvorova)

Example:

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

3.7.0

09 Aug 13:54
Compare
Choose a tag to compare
  • Fix pretty printing Proxy objects in components (@chris-divvito)
  • Fix negative messages in jasmine-enzyme (@blainekasten)
  • Address some internal issues that broke tests in CI (@blainekasten)

3.6.1

21 Jul 16:02
Compare
Choose a tag to compare
  • Fix a bad publish with 3.6.0 not including all documented changes

3.6.0

20 Jul 13:25
Compare
Choose a tag to compare
  • Implement jest asymettric matchers and jasmine partial matchers!! (@sfargier)
    • This means you can use API's like expect.any(String) in jest or jasmine.stringMatching('%')
  • Fix a bug with the transpiled code not runnable in browsers (@ek5000)
  • Make the typescript definition for jest-enzyme more accurate (@sfargier)
  • internal: enzyme-matchers is built in Prettier now! (@blainekasten)
  • internal: Fix a local issue with our yarn.lock (@blainekasten)