How do I write tests for zx scripts?
Open
feature
- Dominant language
- JavaScript
- Stars
- 45.7k
- Forks
- 1.3k
- PR merge metrics
- No merged PRs in 30d
Description
I have a bunch of zx automation scripts that become complex enough that I want to unit test them.
Is there any best practice on how to do this? I guess I could refactor the code so that most of the logic lives in normal JS files, and test those, but is there an easier way?
Contributor guide
Assessment
This issue has not been assessed yet.