onflow/flow-js-testing

The emulator should not be a singleton

jribbink opened this issue · 1 comments

Instructions

Make the user instantiate a new instance of the emulator per use and remove the singleton functionality.

Closing as this isn't as much of an issue as previously thought. Since jest tests are isolated from one another and it is a reasonable assumption that the user will not attempt to run multiple emulators within the same test file this singleton pattern should suffice.