Skip to content
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

Remove dependency on debug.loadmodule #3

Open
grilme99 opened this issue Mar 4, 2024 · 1 comment
Open

Remove dependency on debug.loadmodule #3

grilme99 opened this issue Mar 4, 2024 · 1 comment
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@grilme99
Copy link
Member

grilme99 commented Mar 4, 2024

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
@grilme99 grilme99 added enhancement New feature or request help wanted Extra attention is needed labels Mar 4, 2024
@christopher-buss
Copy link

Can this help? See here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants