Support _brs_.testData
#623
Labels
enhancement
Any addition to this project's existing capabilities
good first issue
A great place for newcomers to jump in! Usually doesn't involve a deep understanding of the project
Summary
Oftentimes when mocking components/functions, it can be helpful to use a globally-scoped (or maybe it'd be scopeless? 🤔) variable that is accessible both from the mock and the test case/suite. Since the mock runs in the source code's
m
scope, this isn't possible with roca'sm.addContext
.Let's add a property called
_brs_.testData
for this purpose.The text was updated successfully, but these errors were encountered: