You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently our mock functions have a results property, which is just a flat array of return values from each call. Now that Brightscript supports try/catch, our mock functions should align to Jest's implementation, where each result in the results array is an object that looks like:
Summary
(Coming from a discussion in #622)
Currently our mock functions have a
results
property, which is just a flat array of return values from each call. Now that Brightscript supportstry/catch
, our mock functions should align to Jest's implementation, where each result in theresults
array is an object that looks like:Note that this will be a breaking change for mock functions.
The text was updated successfully, but these errors were encountered: