tazmondo/jest_roblox

A packaged distribution of Roblox's Jest implementation. May not be entirely accurate.

Disclosure

Mostly AI-written (GPT-5.6-sol), but it works as a stop-gap until we get official jest-roblox on wally.

Jest Roblox for Pesde

An unofficial Pesde distribution of Roblox Jest 3.19.0.

This repository vendors the generated package tree so consumers do not need Rotriever. It is based on Roblox Jest commit 42f02fd and continues the packaging work started by paralov/jest.

This project is not an official Roblox distribution and is not affiliated with or endorsed by Roblox Corporation.

Usage

The package root exposes the standard Jest runner and a test-environment-aware accessor for JestGlobals:

local Jest = require(ReplicatedStorage.vendor.Jest)
local JestGlobals = Jest.getJestGlobals()

local describe = JestGlobals.describe
local expect = JestGlobals.expect
local it = JestGlobals.it

getJestGlobals() resolves the globals through the calling Jest sandbox so they are bound to the active test environment.

Distribution scope

The runtime distribution contains all 441 source files from Roblox Jest 3.19.0. All production dependencies and exported type forwards are generated from the upstream Rotriever manifests.

There are three intentional packaging differences:

  • Packages/init.luau combines the Jest entry point with getJestGlobals().
  • Jest's string resolver accepts Pesde-generated ./../package links.
  • Five React-related development dependencies used only by upstream's internal PrettyFormat and RobloxShared tests are not vendored.

The omitted development dependencies do not participate in the packaged runtime. This repository's smoke suite and consumer integration tests cover the supported distribution boundary.