sjbarag / brs

An interpreter for the BrightScript language that runs on non-Roku platforms.
MIT License
114 stars 43 forks source link

fix(extensions): reset mocks between executions #649

Closed lkipke closed 3 years ago

lkipke commented 3 years ago

Change summary

This resets mocks between executions that share the same base scope, to prevent them from polluting/interfering with each other. Got the idea from the implementation in #646!

Related: https://github.com/hulu/roca/issues/89