test.js I first mock node-cron's schedule method to effectively do nothing. This prevents any tasks coincidentally running while testing: const ...
確定! 回上一頁