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
On the latest Rooibos release 5.12.0, stepping into the m.stubCall method:
5.12.0
m.stubCall
function stubCall(invocation as dynamic, stubOrReturnValue = invalid as dynamic, functionName = "" as string) as object
The stubOrReturnValue param throws an error if it's not defined as a function: .endsWith("Function").
stubOrReturnValue
.endsWith("Function")
Based on the way this param is named, it appears to be a regression?
The text was updated successfully, but these errors were encountered:
Here's a demo of the issue:
m.stubCall via inline function is working https://github.com/disc7/rooibosDemo/blob/main/tests/source/tests/Examples.spec.bs#L25
m.stubCall via return value is not working: https://github.com/disc7/rooibosDemo/blob/main/tests/source/tests/Examples.spec.bs#L33
Clone or download the zip of the project, c&p the vscode_sample files and define a .env in root.
Sorry, something went wrong.
No branches or pull requests
On the latest Rooibos release
5.12.0
, stepping into them.stubCall
method:The
stubOrReturnValue
param throws an error if it's not defined as a function:.endsWith("Function")
.Based on the way this param is named, it appears to be a regression?
The text was updated successfully, but these errors were encountered: