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
Jest Lua currently depends on an internal Roblox API that requires flipping the FFlagEnableLoadModule flag. This makes adoption more difficult for many developers.
It's not clear how we can actually do this, though. loadmodule is used to:
Support mocking a module environment (you cannot mock an entire module when using require)
Not requiring a top-level function to be returned, like with TestEZ
The text was updated successfully, but these errors were encountered:
Jest Lua currently depends on an internal Roblox API that requires flipping the
FFlagEnableLoadModule
flag. This makes adoption more difficult for many developers.It's not clear how we can actually do this, though.
loadmodule
is used to:require
)The text was updated successfully, but these errors were encountered: