◐ Shell
clean mode source ↗

Make CI fail if tests fail and fix failing tests by making them Pester v5 compatible by bergmeister · Pull Request #1553 · PowerShell/PSScriptAnalyzer

PR Summary

The migration to Pester v5 meant that the switch to make CI fail if there was a test failure, was not on. I did an individual commit for this fix so that you can see it fails now when there is a failed test.
Fix failing tests by making them Pester v5 compatible, this was because the PR that added those tests was opened before the Pester v5 migration.

PR Checklist