enzymejs/enzyme

Enzyme's `React.lazy` support is reducing coverage

Open

#2.238 geöffnet am 13. Sept. 2019

Auf GitHub ansehen
 (4 Kommentare) (6 Reaktionen) (0 zugewiesene Personen)JavaScript (19.979 Stars) (2.016 Forks)batch import
help wanted

Beschreibung

Current behavior

Screen Shot 2019-08-14 at 11 49 32 AM

Expected behavior

React.lazy line is covered.

Reference: https://github.com/airbnb/enzyme/issues/1917#issuecomment-521326956

@ljharb created a new issue for you as suggested.

Your environment

API

  • shallow
  • mount
  • render

Version

library version
enzyme 3.10.0
react 16.9.x
react-dom 16.9.x
react-test-renderer 16.9.x
adapter (below)

Adapter

  • enzyme-adapter-react-16

Contributor Guide