Open
Description
What You Are Seeing?
Many tests shadow the actual module function with an ad-hoc function that does nothing and only the tests use. As a result, there aren't really any tests for the module logic itself.
What is Expected?
Tests should be verifying the module behaves as intended given various inputs and outputs of mocked functions.
How Did You Get This To Happen? (Steps to Reproduce)
See for example:
ChocoCCM/src/Tests/computer.tests.ps1
Lines 1 to 11 in 2c92049
System Details
N/A
Output Log
N/A