a test example with karma for CommonJS module
- There was a a successful example when using
karma
to testnodeJS commonjs module
. - 在采用karma测试nodejs的commonjs模块时遇到了很多坑,这是一个成功的示例。
- The only thing to do is to never test the
nodejs module
withkarma
. - 唯一的收获是,再也不要用karma测试
node
模块了....