jest
Skill by christopher-buss
Guides an AI assistant through writing, mocking and configuring tests in Luau with Jest Roblox. It flags where Luau behaves differently from JavaScript Jest.
Install jest
Built from the published package, never by AI.
git clone --depth 1 https://github.com/christopher-buss/flux /tmp/flux && mkdir -p ~/.claude/skills && cp -r /tmp/flux/.agents/skills/jest ~/.claude/skills/jestRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/christopher-buss/flux /tmp/flux && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/flux/.agents/skills/jest ~/.gemini/antigravity-cli/skills/jestAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The jest skill gives an AI assistant guidance for testing Roblox and Luau code with Jest Roblox, a Luau port of Jest. It covers test structure, matchers, asymmetric matchers, mocking, configuration, async testing, custom matchers, snapshot testing, timer mocks and module mocking. The skill is based on Jest Roblox v3.x and was generated on 2026-02-07 from the Roblox jest-roblox repository.
The skill lists the differences from JavaScript Jest that matter in Luau. Examples include .never in place of .not, jest.fn() returning two values, 0 and empty strings being truthy, all globals needing explicit import, and .each using table syntax. It is aimed at developers writing and configuring tests in Luau with Jest Roblox.
Written from the project's SKILL.md and checked against it.
What it can do
- Test structureExplains describe, test/it, hooks, .each, and .only/.skip in Jest Roblox.
- MatchersCovers toBe, toEqual, toContain, toThrow, and mock matchers.
- Asymmetric matchersCovers expect.anything, any, nothing, callable, and .resolves/.rejects.
- MockingCovers jest.fn(), spyOn, mock.calls, and return values.
- ConfigurationCovers jest.config.lua, runCLI, reporters, and options.
- Async testingCovers promises, done callbacks, and .resolves/.rejects.
- Custom matchersCovers expect.extend(), the self parameter, and isNever.
- Timer and module mocksCovers useFakeTimers, Roblox timers, jest.mock(), and resetModules.
What you need
- Jest Roblox v3.x, as the skill is based on that version
- Luau code to test
Try asking
- Write Jest Roblox tests for this Luau module using describe and test blocks
- Mock this function with jest.fn() and check its calls in Luau
- Explain the Luau differences from JS Jest that affect my tests
Good to know
- Luau differs from JavaScript Jest: use .never instead of .not
- jest.fn() returns two values, and 0, empty strings and empty tables are truthy
- All globals such as describe and expect must be imported explicitly
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .agents/skills/jest/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to jest
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
jest: common questions
Is this the JavaScript Jest skill?
No. The skill states it is for Jest Roblox in Luau and not for JavaScript Jest.
Why does .never replace .not?
The skill says .never is used because .not is a reserved keyword in Luau.
Which Jest Roblox version does the skill cover?
The skill says it is based on Jest Roblox v3.x and was generated on 2026-02-07.
How do I install jest?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is jest free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is jest safe to use?
It scores 61 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to jest?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
