Learn how to run unit and integration tests with your Frigade Flows
Using a test user
beforeAll
to reset the test user before and after running your tests.Writing tests
Frigade.Announcement
and ensures that the modal is closed.Going further
flow.complete()
or step.complete()
support an optional createdAt
parameter that can simulate the time of completion, too.