Testing Simple Functions with Jest
For each piece of working code in the /src
directory:
- Write tests for the code to assert its behavior in the
/tests
directory - Refactor the code to use modern syntax while keeping the tests passing
For each piece of working code in the /src
directory:
/tests
directory