-
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
js/modules: Remove common utils dependency #2376
Conversation
Can you also cleanup the tests as they still use |
07fb1d5
to
0e1a7ac
Compare
I extended the changes to all the tests in |
Something was missed from the module migration to the new `modules.Module` API, where the goja.Runtime and lib.State are now directly accessible without getting them from the context.
0e1a7ac
to
22346f6
Compare
time.Sleep(1 * time.Second) | ||
runtime.Gosched() |
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.
I wonder why these were here? 😕 Seems they were here from almost the start (274eef8), but they don't seem necessary, so 👍 for removing them
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.
🎉
Something was missed from the module migration to the new
modules.Module
API, where the Runtime and the State are now directly accessible without getting them from the context.This is required for #2344