阅读背景:

如何使用vows.js运行清理?

来源:互联网 

I'm using Vows.js to test some node.js which is creating records in a database. As a result of this it creates some test records in the database. I'd like to remove these records once the tests have run. Is there a way to run a cleanup function when a batch of tests is run in Vows?I'm using Vows.js to test some node.js which is




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

分享到: