-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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/move SharedArray tests to it's module #1795
Conversation
initEnv := &common.InitEnvironment{ | ||
SharedObjects: common.NewSharedObjects(), | ||
} | ||
rt, err := newConfiguredRuntime(initEnv) | ||
require.NoError(t, err) | ||
_, err = rt.RunString(makeArrayScript) | ||
require.NoError(t, err) | ||
|
||
// create another Runtime with new ctx but keep the initEnv | ||
rt, err = newConfiguredRuntime(initEnv) | ||
require.NoError(t, err) | ||
_, err = rt.RunString(makeArrayScript) | ||
require.NoError(t, err) |
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.
Couldn't figure out what to name this block of code ... so I didn't move it to a function 🤷
Codecov Report
@@ Coverage Diff @@
## master #1795 +/- ##
==========================================
- Coverage 71.44% 71.41% -0.03%
==========================================
Files 180 180
Lines 13839 13839
==========================================
- Hits 9887 9883 -4
- Misses 3328 3332 +4
Partials 624 624
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
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.
Thanks, this cleans up that JS integration test nicely!
Just spotted a small typo I think.
Co-authored-by: Ivan Mirić <[email protected]>
Co-authored-by: Ivan Mirić <[email protected]>
No description provided.