Hsaido
Hsaido

Reputation: 125

How to use jest & enzyme to test code splitting (code splits at the routes level using react-loadable)

I have a React project where I am using react-loadable to split a code at the route level. I’m also using Redux to manage the app’s store.

What I'm looking for is the way I can use Jest & Enzyme in order to test my routes (for the routes I’m using connected-react-router and react-loadable for splitting code).

Upvotes: 3

Views: 365

Answers (0)

Related Questions