4 ms·
There are special tools to "render" react components in node-based test runners. Of course, you need to write your components in such a way that they are easy
by bayesian_horse 5y ago
There are special tools to "render" react components in node-based test runners.
Of course, you need to write your components in such a way that they are easy to isolate. You can also make use of composition and maybe even mock out components.