Skip to content

How do I write tests for zx scripts? #1297

@muodov

Description

@muodov

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions