Skip to content

Fix Pester function local variable scoping #9

@mrtns

Description

@mrtns

Currently, local variables defined in Pester functions (e.g. $output in It) can be overridden in tests, resulting in erratic and unwanted behaviour.

We need to scope the local variables defined in Pester functions to private.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions