We did it! Well, sort of. We can now require() arbitrary CommonJS modules in our Karma tests. All of our tests work correctly, and failures give us a useful stack trace. We still have a lot of clean up, so we get rid of our debug code, then spend the rest of the episode removing the need for the global “module” variable.

comments powered by Disqus