from Hacker News

Show HN: Module for conditionally skipping Mocha tests

by chungleong on 11/29/20, 10:10 PM with 1 comments

  • by chungleong on 11/29/20, 10:24 PM

    Something I created for my own use because many of my unit tests rely on external resources. I would get rate-limited all the time when I use watch. Or they would fail because I forget to provide an access token through an env variable. A clean way to bypass certain test would be helpful, I thought. Hope this is useful to other devs. Comments definitely welcomed.