Write unit tests for all the code in the workflows.
Motivation and context
All code should be tested to prevent unknown problems from biting us unexpectedly (which has happened).
Implementation notes
Look through all the workflows.
Pull out any code.
Put them into functions in "utils/workflow".
Write Pester unit tests for them.
Verify that the workflows still work and that the unit tests pass.
💡 Summary
Write unit tests for all the code in the workflows.
Motivation and context
All code should be tested to prevent unknown problems from biting us unexpectedly (which has happened).
Implementation notes
Look through all the workflows. Pull out any code. Put them into functions in "utils/workflow". Write Pester unit tests for them.
Verify that the workflows still work and that the unit tests pass.
Acceptance criteria
How do we know when this work is done?