-
Notifications
You must be signed in to change notification settings - Fork 138
New issue
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
Add the NewEmulatorBackend
method on TestFramework
interface
#2744
Add the NewEmulatorBackend
method on TestFramework
interface
#2744
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2744 +/- ##
=======================================
Coverage 79.18% 79.18%
=======================================
Files 333 333
Lines 78536 78536
=======================================
Hits 62192 62192
Misses 14043 14043
Partials 2301 2301
Flags with carried forward coverage won't be shown. Click here to find out more.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! Just one small suggestion
aad6fee
to
8b9f42b
Compare
This method is used to create a new emulator backend, each time a developer calls Test.newEmulatorBlockchain(). Up to this point, one and the same emulator backend was used, which meant that there was no way to reset state.
8b9f42b
to
6862627
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
Closes onflow/cadence-tools#139
Description
This method is used to create a new emulator backend, each time a developer calls
Test.newEmulatorBlockchain()
.Up to this point, one and the same emulator backend was used, which meant that there was no way to reset state.
master
branchFiles changed
in the Github PR explorer