You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
During some library test/rewrite I found out that apparently
exports.a="5";exports.b=function(){returnb.a;}
Doesn't work in k6. instead of b() returning "5" it will return undefined. This has been like that at least since v0.22.1 and as far as I can see it is because of the way we load modules. This both works in node.js and goja's sample nodejs require implementaion.
During some library test/rewrite I found out that apparently
Doesn't work in k6. instead of
b()
returning"5"
it will returnundefined
. This has been like that at least since v0.22.1 and as far as I can see it is because of the way we load modules. This both works in node.js and goja's sample nodejs require implementaion.Somewhat related to #1048.
The text was updated successfully, but these errors were encountered: