- Explain the difference between unit testing and integration testing √
- Write unit tests for functions that have dependencies √
- Utilize
beforeEach
andafterEach
blocks to setup/teardown test dependencies. √ - Explain the difference between stubs and spies √
https://sinonjs.org/releases/latest/stubs/ https://en.wikipedia.org/wiki/Method_stub https://sinonjs.org/releases/latest/spies/ https://mherman.org/blog/stubbing-http-requests-with-sinon/