Skip to content

Mock fallthrough

20b9cdd
Select commit
Loading
Failed to load commit list.
Draft

Remove Mock fallthrough #2654

Mock fallthrough
20b9cdd
Select commit
Loading
Failed to load commit list.
Azure Pipelines / Pester PR (Test PS7_Windows_Server2022) failed Jul 3, 2025 in 4m 40s

Test PS7_Windows_Server2022 failed

Annotations

Check failure on line 3252 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / Pester PR (Test PS7_Windows_Server2022)

Build log #L3252

 [-] <ScriptBlock> failed with:

Check failure on line 3840 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / Pester PR (Test PS7_Windows_Server2022)

Build log #L3840

 [-] When calling Mock on existing function without matching bound params.Should throw because not mock matched the invocation 24ms (23ms|1ms)

Check failure on line 3848 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / Pester PR (Test PS7_Windows_Server2022)

Build log #L3848

 [-] When calling Mock on existing function without matching unbound arguments.Should throw because not mock matched the invocation 23ms (22ms|1ms)

Check failure on line 3856 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / Pester PR (Test PS7_Windows_Server2022)

Build log #L3856

 [-] When calling Mock on a module-internal function..Using Mock -ModuleName "ModuleName" "CommandName" syntax.Should only call mocks within the same module 13ms (12ms|1ms)

Check failure on line 3860 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / Pester PR (Test PS7_Windows_Server2022)

Build log #L3860

 [-] When calling Mock on a module-internal function..Using Mock -ModuleName "ModuleName" "CommandName" syntax.Should work even if the function is weird and steps on the automatic $ExecutionContext variable. 8ms (7ms|2ms)