Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix session state in Should -Invoke to use the correct session state #1954

Merged
merged 2 commits into from
May 21, 2021

Conversation

nohwnd
Copy link
Member

@nohwnd nohwnd commented May 20, 2021

Fix #1813

@nohwnd
Copy link
Member Author

nohwnd commented May 20, 2021

This needs tests, it should be simple as taking the code from the issue, and simplifying it and then putting that in Pester.RSpec.Mock.ts.ps1 or how that file is called.

@nohwnd nohwnd changed the base branch from v5.0 to rel/5.2.x May 21, 2021 20:20
@nohwnd nohwnd force-pushed the fix-sessionstate-in-should-invoke branch from 8032a51 to 9b64046 Compare May 21, 2021 20:24
@nohwnd nohwnd force-pushed the fix-sessionstate-in-should-invoke branch from 9b64046 to 18e8871 Compare May 21, 2021 20:25
@nohwnd nohwnd merged commit 91f9795 into rel/5.2.x May 21, 2021
@nohwnd nohwnd deleted the fix-sessionstate-in-should-invoke branch May 21, 2021 20:32
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.

InModuleScope: Using Should -Invoke with parameter filter inside InModuleScope fails
1 participant