Surface flaky tests by injecting deterministic async delays
░ Your test ran too fast and left a bug behind.
░ Your test flaked!
In your development environment:
Inject await delays between statements to surface bugs.
FlakeMonster uses Acorn to parse your code into an AST, walks the tree to find async functions and top-level module statements, injects delay nodes, then generates the modified source.
See how FlakeMonster reorders async operations by injecting deterministic delays.
Watch FlakeMonster inject delay statements into real JavaScript code.
Each seed is combined with the file path and function name to derive a unique delay. Same seed, same delays, every run.
Uses the open Agent Skills standard. One SKILL.md works across Claude Code, Codex, Copilot, and more.
/flakemonster followed by your test command
$ mkdir -p .claude/commands && \ curl -sL https://raw.githubusercontent.com/growthboot/FlakeMonster/refs/heads/main/SKILL.md \ -o .claude/commands/flakemonster.md
$ mkdir -p .cursor/skills/flakemonster && \ curl -sL https://raw.githubusercontent.com/growthboot/FlakeMonster/refs/heads/main/SKILL.md \ -o .cursor/skills/flakemonster/SKILL.md
$ mkdir -p .agents/skills/flakemonster && \ curl -sL https://raw.githubusercontent.com/growthboot/FlakeMonster/refs/heads/main/SKILL.md \ -o .agents/skills/flakemonster/SKILL.md
$ mkdir -p .github/skills/flakemonster && \ curl -sL https://raw.githubusercontent.com/growthboot/FlakeMonster/refs/heads/main/SKILL.md \ -o .github/skills/flakemonster/SKILL.md
$ mkdir -p .windsurf/skills/flakemonster && \ curl -sL https://raw.githubusercontent.com/growthboot/FlakeMonster/refs/heads/main/SKILL.md \ -o .windsurf/skills/flakemonster/SKILL.md
$ mkdir -p .agent/skills/flakemonster && \ curl -sL https://raw.githubusercontent.com/growthboot/FlakeMonster/refs/heads/main/SKILL.md \ -o .agent/skills/flakemonster/SKILL.md
// Type in any supported agent: /flakemonster npm test /flakemonster npx playwright test /flakemonster --runs 20 --mode hardcore npx jest
Catch flaky tests on every pull request. Automatically.
name: FlakeMonster on: [pull_request] jobs: flake-check: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 - run: npm ci - uses: growthboot/FlakeMonster-Action@v1 with: test-command: npm test runs: 5
The CLI is free forever. The CI product adds automation and insights for teams that ship fast.
Full CLI with inject, test, and restore. Run locally, run in CI, run anywhere.
For teams that need visibility across every repo. Track trends, get alerted, and stop flaky tests before they spread.
FlakeMonster is just getting started. Here's what's coming next.
TypeScript, Python, Go, and beyond. The adapter architecture is ready — new languages just need a parser and codegen layer.
A web dashboard to track flaky test trends across repos and seeds over time. See which tests are getting worse before they break.
VS Code extension to inject and restore delays without leaving your editor. One-click flake testing from your sidebar.
First-class workspace support for monorepos. Run FlakeMonster across packages with shared seeds and unified reporting.
Named delay profiles (network, database, filesystem) that model real-world latency patterns instead of uniform random delays.
Have a feature request or found a bug? We'd love to hear from you.
Open an issue on GitHub
checkout › applies discount1742auth › refresh expired token89cart › adds itemuser › loads profile717426389