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_Ubuntu_22_04) failed Jul 3, 2025 in 2m 39s

Test PS7_Ubuntu_22_04 failed

Annotations

Check failure on line 3211 in Build log

See this annotation in the file changed.

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

Build log #L3211

 [-] <ScriptBlock> failed with:

Check failure on line 3799 in Build log

See this annotation in the file changed.

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

Build log #L3799

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

Check failure on line 3807 in Build log

See this annotation in the file changed.

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

Build log #L3807

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

Check failure on line 3815 in Build log

See this annotation in the file changed.

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

Build log #L3815

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

Check failure on line 3819 in Build log

See this annotation in the file changed.

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

Build log #L3819

 [-] 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. 6ms (5ms|1ms)