Sorry, this video is for subscribers only.

Click here to subscribe!

Modular Tests

We start a new chapter looking at modularity: splitting your JavaScript code across multiple files so it’s better organized and easier to understand. We use the CommonJS Modules format to split our example test into a “test” file and a “production” file. Then we make it work with our tests by installing the karma-commonjs plugin.

comments powered by Disqus