NervJS / nerv

A blazing fast React alternative, compatible with IE8 and React 16.

Home Page:https://nerv.aotu.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Run test with Jest 24, throws ReactIs.isElement is not a function

ZhangJian-3ti opened this issue · comments

Latest Nervjs 1.4.0 with nerv-test-utils.

Any idea to resolve this? Thanks.

Use Jest 23 instead.

@yuche Thank you very much for your quick response.
I used use the Jest 23, but since it's missing some functionalities which I need for now( such as snapshotResolver... ), so I have to switch to Jest 24.

partly resolved
9fe346b

commented

@ZhangJian-3ti Hello, did you config nerv-is into moduleNameMapper? I encountered the same problem.