Testing ReactJS Applications
By admin on Mon Sep 14 2020
In tests, we Arrange, Act, and Assert! Configuring Jest in react applications By default Jest actually loads JSDOM. ( so, we have access to window object in tests ) – We can add configuration for Jest if we don’t require JSDOM ( access to the window ). This can be done by adding ‘jest-environment-node’ / […]