Closed iRon7 closed 1 year ago
Thanks for your submission! Dupe of https://github.com/pester/vscode-adapter/issues/85, the pesterinterface was not written with strictmode in mind as strictmode doesn't really provide much benefit other than a lot more annoying runtime errors. Its on the development list but low in priority, I'll certainly take PRs to refactor the PesterInterface.ps1 to work in strictm ode.
In most of my pester tests, I am testing with
Set-StrictMode -Latest
, like:But this causes an (strictmode) error in the framework