Summary
We'll cover the following
We’ve covered a lot of ground here. We saw how to configure Webpacker, Webpack, Jasmine, and Karma to run JavaScript unit tests. Then we saw how we might unit-test some relatively simple JavaScript code and use test doubles to stand in for Ajax servers. There’s a lot to cover still in JavaScript-land. In particular, if we’re using a client-side framework, each framework has its own set of testing tools to isolate parts of the code and make testing easier.
Get hands-on with 1400+ tech skills courses.