Skip to content

Conversation

@rulasg
Copy link
Owner

@rulasg rulasg commented Dec 19, 2023

If we want to mock a full command from test it's not possible if we are using alias and parameters in the module.

Calling reolve just before scriptblock allows to mock through alias a full command, parameters included.

@rulasg rulasg merged commit 143afa2 into main Dec 19, 2023
@rulasg rulasg deleted the bug-late-resolve-for-full-command-mock branch December 19, 2023 10:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants