We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Add a .Tests Pester file that uses Mock to verify the expected calls to 'Invoke-RestMethod' happen within Export-SplunkData
In case it's of value - here's a case where I have used with Mock in Pester to assert a method gets called (while preventing the actual call from happening): https://github.com/uillinois-community/powershell-scripts/blob/4d0aa88edf33759e43d2221c2c4df012b9f95b8c/modules/AgileGitHub.Tests.ps1#L73
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Add a .Tests Pester file that uses Mock to verify the expected calls to 'Invoke-RestMethod' happen within Export-SplunkData
In case it's of value - here's a case where I have used with Mock in Pester to assert a method gets called (while preventing the actual call from happening):
https://github.com/uillinois-community/powershell-scripts/blob/4d0aa88edf33759e43d2221c2c4df012b9f95b8c/modules/AgileGitHub.Tests.ps1#L73
The text was updated successfully, but these errors were encountered: