You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describing SafeCommands table
[-] The SafeCommands table contains all commands that are called from the module 451ms
Expected: {}
But was: {Get-WmiObject}
at <ScriptBlock>, C:\Users\<USERNAME>\Pester\Pester.Tests.ps1: line 112
112: $missingSafeCommands | Should Be $null
To find/confirm that bug you need first correct the line 89 or 91 in the file Pester.Tests.ps1.
Pester version : 4.0.3 C:\Users<USERNAME>\Pester\Pester.psm1
PowerShell version : 5.1.14393.953
OS version : Microsoft Windows NT 10.0.14393.0
The text was updated successfully, but these errors were encountered:
Today, after merging c3d84de I tested code once again and I see that issue described here is the only v3 related.
Confirmed on
Pester version : 3.4.6 C:\Users\Wojtek\Documents\Scripts\2 - GitHub Extenal\Pester\Pester.psm1
PowerShell version : 5.1.15063.483
OS version : Microsoft Windows NT 10.0.15063.0
But the open question is why the test corrected like here: #766 (comment) doesn't throw an exception for v4 - like in the issue #712
@nohwnd, please remove it from the V4 milestone. I'll prepare an update for V3Maintenance soon.
To find/confirm that bug you need first correct the line 89 or 91 in the file Pester.Tests.ps1.
Pester version : 4.0.3 C:\Users<USERNAME>\Pester\Pester.psm1
PowerShell version : 5.1.14393.953
OS version : Microsoft Windows NT 10.0.14393.0
The text was updated successfully, but these errors were encountered: