devtools
devtools copied to clipboard
Set up unit tests
There are some particular places I feel like unit tests will be super helpful. In particular, catching data structure changes, or token updates, or component renaming from system teams like IBM.com, Carbon, or Security. Basically, add a couple of checks and balances to make sure are reporting tools still deliver accurate results after an update.
I can include jest and I don't know react-testing-library for components is ok
@dezkareid I have no strong opinion on the tech stack around this. I think Carbon uses jest
, and so it would be nice if we could align more with Carbon as much as possible. I've used a little react-testing-library
, but I'm probably more familiar with enzyme
. We may also not have to use just one either. It appears like Carbon uses more of enzyme
. But I'm open here if you have a better idea! 😄
https://github.com/carbon-design-system/carbon/search?q=enzyme