Install enzyme and add starter test for Show component#1
Install enzyme and add starter test for Show component#1alcamerone wants to merge 3 commits intomainfrom
Show component#1Conversation
|
Thanks for the example! Running OK on my end, and looks green 😎 Yeah, seems like a version conflict - when I checked it out and ran |
|
Ping 😄 I'm hoping this can be merged somehow without the lockfile change - it seems like we should be able to just add enzyme and a couple of test files, without having to overhaul the whole package-lock. |
|
@d-lord have upgraded my Node version to match yours, looks a little more agreeable now haha |
|
Thanks! Full run log"She'll be right," we thought, "it's one simple test framework and one simple test, how hard can it be?" |
|
Hhhhuh, could have sworn it was React 16 when I started out, otherwise I would have used the 18 adapter... Or maybe I was just tired 🤷 will fix it. |
Also delete the default test from CRA. Not entirely sure why it wants to rip out half your package-lock... Conflicting
npmversions, perhaps...