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

Test PS7_macOS_13 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_macOS_13)

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_macOS_13)

Build log #L3799

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

Check failure on line 3807 in Build log

See this annotation in the file changed.

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

Build log #L3807

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

Check failure on line 3815 in Build log

See this annotation in the file changed.

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

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 19ms (18ms|1ms)

Check failure on line 3819 in Build log

See this annotation in the file changed.

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

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. 16ms (14ms|2ms)