Package Exports
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@quentystudios/jest-lua) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Jest Lua
Delightful Lua Testing.
Jest Lua can currently only run inside of Roblox. Help is wanted to get it running in other Lua environments, such as Lune or Luvit. See issue #2.
Roblox uses Jest Lua internally for testing their apps, in-game core scripts, built-in Roblox Studio plugins, as well as libraries like Roact Navigation. This library should be considered battle-tested and ready for production use.
Installation
Add this package to your dev-dependencies in your wally.toml, for example:
JestGlobals = "jsdotlua/jest-globals@3.10.0"Then, require anything you need from JestGlobals:
local JestGlobals = require("@Packages/JestGlobals")
local expect = JestGlobals.expectInspiration and Prior Work
Jest Lua is a Lua port of the open source JavaScript testing framework Jest. Modules in the modules directory are aligned to v27.4.7 of Jest.
Contributing
Contributions are welcome! See CONTRIBUTING.md for information.
License
Jest Lua is available under the MIT license. See LICENSE for details.