Skip to content

Latest commit

 

History

History
48 lines (36 loc) · 1.7 KB

README.md

File metadata and controls

48 lines (36 loc) · 1.7 KB

Jest Roblox

Lovely Lua Testing
 

Jest Roblox can run within Roblox itself, as well as inside roblox-cli for testing on CI systems.

We use Jest Roblox at Roblox for testing our apps, in-game core scripts, built-in Roblox Studio plugins, as well as libraries like Roact Navigation.


Add this package to your dev_dependencies in your rotriever.toml, for example:

JestGlobals = "3.9.1"

Then, require anything you need from JestGlobals:

local JestGlobals = require(Packages.JestGlobals)
local expect = JestGlobals.expect

Inspiration and Prior Work

Jest Roblox is a Roblox 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 Roblox is available under the MIT license. See LICENSE for details.