Closed xscottxbrownx closed 9 months ago
Once test/pages/__snapshots__/Home.test.jsx.snap
is updated for the test to pass this LGTM 👍
Thanks all, I'll need to dig into this - I was under the impression it wasn't good practice to use snapshots when unit testing front-end react code. I missed this entirely.
Thanks all, I'll need to dig into this - I was under the impression it wasn't good practice to use snapshots when unit testing front-end react code. I missed this entirely.
I added some snapshots in older tests when we were first writing the tests, since we used them at my last job a lot. I've come to agree though that snapshots aren't particularly useful. You can remove it if you want, but I'd ask you add some other tests in that show the intended behavior of the component (RTL stuff)
Looks like this is causing a test failure. You'll need to fix that before we can merge this.
Got snapshot updated and passing.
This PR:
Resolves #444
1. Replaces
lt
typo withalt