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 PS_5_1_Windows_Server2022) failed Jul 3, 2025 in 9m 16s

Test PS_5_1_Windows_Server2022 failed

Annotations

Check failure on line 22 in Build log

See this annotation in the file changed.

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

Build log #L22

There are one or more test failures detected in result files. Detailed summary of published test results can be viewed in the Tests tab.

Check failure on line 3256 in Build log

See this annotation in the file changed.

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

Build log #L3256

 [-] <ScriptBlock> failed with:

Check failure on line 3862 in Build log

See this annotation in the file changed.

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

Build log #L3862

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

Check failure on line 3870 in Build log

See this annotation in the file changed.

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

Build log #L3870

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

Check failure on line 3878 in Build log

See this annotation in the file changed.

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

Build log #L3878

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