Absolutely everything you need to know about act() in React tests | How To Test Frontend

An in depth look into the act() function when testing React, how to use it, when to use it and fix common issues when using it

Well, I gotta say I wasn’t expecting date testing trauma from my testing days from an #XKCD comic… https://xkcd.com/2867/

(That said, when I WAS doing date testing on the regular, it was on a mainframe where we could easily fiddle the system date for the test environment. That made things a lot easier) #BusinessAnalysis #FunctionTesting

DateTime

xkcd