阅读背景:

node.js:以任何方式逐个导出文件中的所有函数(例如,启用单元测试)

来源:互联网 

in node.js, is there any shortcut to export ALL functions in a given file? i want to do this for unit testing purposes, as my unit tests are in a separate file from my production code. in node.js, is there any shortcut to export ALL




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: