Nov 9, 2022
Either don't test it (as it's an implementation detail) or make some sort of accessible update to the screen that you can query (even to something like a hidden div with a data-test-id).
Either don't test it (as it's an implementation detail) or make some sort of accessible update to the screen that you can query (even to something like a hidden div with a data-test-id).
Hi, I'm Doctor Derek! I've been a professional web developer since 2005, and I love writing about programming with JavaScript, TypeScript, React, Next.js & Git.