Initially, this project was built without a test framework. It is a good practice to test production code, as such a test framework should be added.
A test suite should be created to validate each component.
It doesn't really matter which framework is selected, but there would tend to be a preference towards Jest. Along with this implementation should be a new test script added to package.json
Initially, this project was built without a test framework. It is a good practice to test production code, as such a test framework should be added.
A test suite should be created to validate each component.
It doesn't really matter which framework is selected, but there would tend to be a preference towards Jest. Along with this implementation should be a new
test
script added to package.json