Skip to content

Remove dependency on debug.loadmodule #3

@grilme99

Description

@grilme99

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions