摘要: The component test: 阅读全文
posted @ 2018-11-14 17:06 Zhentiw 阅读(266) 评论(0) 推荐(0)
摘要: Most of time, when we want to test function call inside a promise, we can do: It is important to call 'done()', otherwise, the code won't call the pro 阅读全文
posted @ 2018-11-14 16:52 Zhentiw 阅读(257) 评论(0) 推荐(0)
摘要: WebAssembly is great for targeting performance bottlenecks in the browser. Now with node-loader, we can do the same on the server through Node.js Whil 阅读全文
posted @ 2018-11-14 03:11 Zhentiw 阅读(488) 评论(0) 推荐(0)
摘要: Transpile Modules with Babel in Jest Tests Jest automatically loads and applies our babel configuration. However, because our project takes advantage 阅读全文
posted @ 2018-11-14 02:53 Zhentiw 阅读(933) 评论(0) 推荐(0)