Set up testing of source code using jest with npm scripts
Adding tests to our package can ensure it works as expected. We will install a test framework
jest. We will then create a
test script to run our tests. Then we will create a
test:watch script to keep tests running while we develop.