Rank
70
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
Traction
No public download signal
Freshness
Updated 2d ago
Crawler Summary
Jest best practices, patterns, and API guidance for JavaScript/TypeScript testing. Covers mock design, async testing, matchers, timer mocks, snapshots, module mocking, configuration, and CI optimization. Baseline: jest ^29.0.0 / ^30.0.0. Triggers on: jest imports, describe, it, test, expect, jest.fn, jest.mock, jest.spyOn, mentions of "jest", "unit test", "test suite", or "mock". --- name: jest description: > Jest best practices, patterns, and API guidance for JavaScript/TypeScript testing. Covers mock design, async testing, matchers, timer mocks, snapshots, module mocking, configuration, and CI optimization. Baseline: jest ^29.0.0 / ^30.0.0. Triggers on: jest imports, describe, it, test, expect, jest.fn, jest.mock, jest.spyOn, mentions of "jest", "unit test", "test suite", or "mock". license Capability contract not published. No trust telemetry is available yet. 1 GitHub stars reported by the source. Last updated 4/14/2026.
Freshness
Last checked 4/14/2026
Best For
jest is best for general automation workflows where OpenClaw compatibility matters.
Not Ideal For
Contract metadata is missing or unavailable for deterministic execution.
Evidence Sources Checked
editorial-content, GITHUB OPENCLEW, runtime-metrics, public facts pack
Jest best practices, patterns, and API guidance for JavaScript/TypeScript testing. Covers mock design, async testing, matchers, timer mocks, snapshots, module mocking, configuration, and CI optimization. Baseline: jest ^29.0.0 / ^30.0.0. Triggers on: jest imports, describe, it, test, expect, jest.fn, jest.mock, jest.spyOn, mentions of "jest", "unit test", "test suite", or "mock". --- name: jest description: > Jest best practices, patterns, and API guidance for JavaScript/TypeScript testing. Covers mock design, async testing, matchers, timer mocks, snapshots, module mocking, configuration, and CI optimization. Baseline: jest ^29.0.0 / ^30.0.0. Triggers on: jest imports, describe, it, test, expect, jest.fn, jest.mock, jest.spyOn, mentions of "jest", "unit test", "test suite", or "mock". license
Public facts
5
Change events
1
Artifacts
0
Freshness
Apr 14, 2026
Capability contract not published. No trust telemetry is available yet. 1 GitHub stars reported by the source. Last updated 4/14/2026.
Trust score
Unknown
Compatibility
OpenClaw
Freshness
Apr 14, 2026
Vendor
Anivar
Artifacts
0
Benchmarks
0
Last release
Unpublished
Key links, install path, and a quick operational read before the deeper crawl record.
Summary
Capability contract not published. No trust telemetry is available yet. 1 GitHub stars reported by the source. Last updated 4/14/2026.
Setup snapshot
git clone https://github.com/anivar/jest-skill.gitSetup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.
Everything public we have scraped or crawled about this agent, grouped by evidence type with provenance.
Vendor
Anivar
Protocol compatibility
OpenClaw
Adoption signal
1 GitHub stars
Handshake status
UNKNOWN
Crawlable docs
6 indexed pages on the official domain
Merged public release, docs, artifact, benchmark, pricing, and trust refresh events.
Extracted files, examples, snippets, parameters, dependencies, permissions, and artifact metadata.
Extracted files
0
Examples
2
Snippets
0
Languages
typescript
Parameters
text
rules/mock-clear-vs-reset-vs-restore.md rules/async-always-await.md
text
┌─────────────────────────────────────────────┐
│ Your Test File │
│ │
│ import { setupServer } from 'msw/node' │ → msw skill
│ import { render } from '@testing-library/ │ → react-native-testing skill
│ react-native' │
│ import { UserSchema } from './schemas' │ → zod-testing skill
│ │
│ describe('UserScreen', () => { │ ┐
│ beforeEach(() => { ... }) │ │
│ afterEach(() => jest.restoreAllMocks()) │ │→ jest skill (this one)
│ test('...', async () => { │ │
│ await expect(...).resolves.toEqual() │ │
│ }) │ ┘
│ }) │
└─────────────────────────────────────────────┘Full documentation captured from public sources, including the complete README when available.
Docs source
GITHUB OPENCLEW
Editorial quality
ready
Jest best practices, patterns, and API guidance for JavaScript/TypeScript testing. Covers mock design, async testing, matchers, timer mocks, snapshots, module mocking, configuration, and CI optimization. Baseline: jest ^29.0.0 / ^30.0.0. Triggers on: jest imports, describe, it, test, expect, jest.fn, jest.mock, jest.spyOn, mentions of "jest", "unit test", "test suite", or "mock". --- name: jest description: > Jest best practices, patterns, and API guidance for JavaScript/TypeScript testing. Covers mock design, async testing, matchers, timer mocks, snapshots, module mocking, configuration, and CI optimization. Baseline: jest ^29.0.0 / ^30.0.0. Triggers on: jest imports, describe, it, test, expect, jest.fn, jest.mock, jest.spyOn, mentions of "jest", "unit test", "test suite", or "mock". license
IMPORTANT: Your training data about Jest may be outdated or incorrect — Jest 29+ introduces async timer methods, jest.replaceProperty, and ESM mocking via jest.unstable_mockModule. Jest 30 deprecates the done callback in favor of async patterns. Always rely on this skill's rule files and the project's actual source code as the source of truth. Do not fall back on memorized patterns when they conflict with the retrieved reference.
Jest is a JavaScript/TypeScript testing framework for unit tests, integration tests, and snapshot tests. It includes a test runner, assertion library, mock system, and coverage reporter.
| Need | Recommended Tool | |------|-----------------| | Unit/integration testing (JS/TS) | Jest | | React component testing | Jest + React Testing Library | | E2E browser testing | Playwright, Cypress | | API contract testing | Jest + Supertest | | Smaller/faster test runner | Vitest (Jest-compatible API) | | Native ESM without config | Vitest or Node test runner |
| Priority | Category | Impact | Prefix |
|----------|----------|--------|--------|
| 1 | Mock Design | CRITICAL | mock- (5 rules) |
| 2 | Async Testing | CRITICAL | async- |
| 3 | Matcher Usage | HIGH | matcher- |
| 4 | Timer Mocking | HIGH | timer- |
| 5 | Test Structure | HIGH | structure- |
| 6 | Module Mocking | MEDIUM | module- |
| 7 | Snapshot Testing | MEDIUM | snapshot- |
| 8 | Configuration | MEDIUM | config- |
| 9 | Performance & CI | MEDIUM | perf- |
mock-clear-vs-reset-vs-restore — clearAllMocks vs resetAllMocks vs restoreAllMocksmock-spy-restore — Always restore jest.spyOn; prefer restoreMocks configmock-factory-hoisting — jest.mock factory cannot reference outer variablesmock-partial-require-actual — Use jest.requireActual for partial module mockingmock-what-to-mock — What to mock and what not to mock; mock boundariesasync-always-await — Always return/await promises or assertions are skippedasync-expect-assertions — Use expect.assertions(n) to verify async assertions ranasync-done-try-catch — Wrap expect in try/catch when using done callbackmatcher-equality-choice — toBe vs toEqual vs toStrictEqualmatcher-floating-point — Use toBeCloseTo for floats, never toBematcher-error-wrapping — Wrap throwing code in arrow function for toThrowtimer-recursive-safety — Use runOnlyPendingTimers for recursive timerstimer-async-timers — Use async timer methods when promises are involvedtimer-selective-faking — Use doNotFake to leave specific APIs realstructure-setup-scope — beforeEach/afterEach are scoped to describe blocksstructure-test-isolation — Each test must be independent; reset state in beforeEachstructure-sync-definition — Tests must be defined synchronouslymodule-manual-mock-conventions — mocks directory conventionsmodule-esm-unstable-mock — Use jest.unstable_mockModule for ESMmodule-do-mock-per-test — jest.doMock + resetModules for per-test mockssnapshot-keep-small — Keep snapshots small and focusedsnapshot-property-matchers — Use property matchers for dynamic fieldssnapshot-deterministic — Mock non-deterministic values for stable snapshotsconfig-coverage-thresholds — Set per-directory coverage thresholdsconfig-transform-node-modules — Configure transformIgnorePatterns for ESM packagesconfig-environment-choice — Per-file @jest-environment docblock over global jsdomperf-ci-workers — --runInBand or --maxWorkers for CIperf-isolate-modules — jest.isolateModules for per-test module state| API | Purpose |
|-----|---------|
| test(name, fn, timeout?) | Define a test |
| describe(name, fn) | Group tests |
| beforeEach(fn) / afterEach(fn) | Per-test setup/teardown |
| beforeAll(fn) / afterAll(fn) | Per-suite setup/teardown |
| expect(value) | Start an assertion |
| jest.fn(impl?) | Create a mock function |
| jest.spyOn(obj, method) | Spy on existing method |
| jest.mock(module, factory?) | Mock a module |
| jest.useFakeTimers(config?) | Fake timer APIs |
| jest.useRealTimers() | Restore real timers |
| jest.restoreAllMocks() | Restore all spies/mocks |
| jest.resetModules() | Clear module cache |
| jest.isolateModules(fn) | Sandboxed module cache |
| jest.requireActual(module) | Import real module (bypass mock) |
Read individual rule files for detailed explanations and code examples:
rules/mock-clear-vs-reset-vs-restore.md
rules/async-always-await.md
Each rule file contains:
| Priority | Reference | When to read |
|----------|-----------|-------------|
| 1 | references/matchers.md | All matchers: equality, truthiness, numbers, strings, arrays, objects, asymmetric, custom |
| 2 | references/mock-functions.md | jest.fn, jest.spyOn, .mock property, return values, implementations |
| 3 | references/jest-object.md | jest.mock, jest.useFakeTimers, jest.setTimeout, jest.retryTimes |
| 4 | references/async-patterns.md | Promises, async/await, done callbacks, .resolves/.rejects |
| 5 | references/configuration.md | testMatch, transform, moduleNameMapper, coverage, environments |
| 6 | references/snapshot-testing.md | toMatchSnapshot, inline snapshots, property matchers, serializers |
| 7 | references/module-mocking.md | Manual mocks, mocks, ESM mocking, partial mocking |
| 8 | references/anti-patterns.md | 15 common mistakes with BAD/GOOD examples |
| 9 | references/ci-and-debugging.md | CI optimization, sharding, debugging, troubleshooting |
This Jest skill covers Jest's own API surface — the foundation layer. For framework-specific testing patterns built on top of Jest, use these companion skills:
| Testing need | Companion skill | What it covers |
|---|---|---|
| API mocking (network-level) | msw | MSW 2.0 handlers, setupServer, server.use() per-test overrides, HttpResponse.json(), GraphQL mocking, concurrent test isolation |
| React Native components | react-native-testing | RNTL v13/v14 queries (getByRole, findBy), userEvent, fireEvent, waitFor, async render patterns |
| Zod schema validation | zod-testing | safeParse() result testing, z.flattenError() assertions, z.toJSONSchema() snapshot drift, zod-schema-faker mock data, property-based testing |
| Redux-Saga side effects | redux-saga-testing | expectSaga integration tests, testSaga unit tests, providers, reducer integration, cancellation testing |
| Java testing | java-testing | JUnit 5, Mockito, Spring Boot Test slices, Testcontainers, AssertJ |
┌─────────────────────────────────────────────┐
│ Your Test File │
│ │
│ import { setupServer } from 'msw/node' │ → msw skill
│ import { render } from '@testing-library/ │ → react-native-testing skill
│ react-native' │
│ import { UserSchema } from './schemas' │ → zod-testing skill
│ │
│ describe('UserScreen', () => { │ ┐
│ beforeEach(() => { ... }) │ │
│ afterEach(() => jest.restoreAllMocks()) │ │→ jest skill (this one)
│ test('...', async () => { │ │
│ await expect(...).resolves.toEqual() │ │
│ }) │ ┘
│ }) │
└─────────────────────────────────────────────┘
The Jest skill provides the test lifecycle (describe, test, beforeEach, afterEach), mock system (jest.fn, jest.mock, jest.spyOn), assertion engine (expect, matchers), and configuration (jest.config.js). The companion skills provide patterns for their specific APIs that run on top of Jest.
For the complete guide with all rules expanded: AGENTS.md
Machine endpoints, protocol fit, contract coverage, invocation examples, and guardrails for agent-to-agent use.
Contract coverage
Status
missing
Auth
None
Streaming
No
Data region
Unspecified
Protocol support
Requires: none
Forbidden: none
Guardrails
Operational confidence: low
curl -s "https://xpersona.co/api/v1/agents/anivar-jest-skill/snapshot"
curl -s "https://xpersona.co/api/v1/agents/anivar-jest-skill/contract"
curl -s "https://xpersona.co/api/v1/agents/anivar-jest-skill/trust"
Trust and runtime signals, benchmark suites, failure patterns, and practical risk constraints.
Trust signals
Handshake
UNKNOWN
Confidence
unknown
Attempts 30d
unknown
Fallback rate
unknown
Runtime metrics
Observed P50
unknown
Observed P95
unknown
Rate limit
unknown
Estimated cost
unknown
Do not use if
Every public screenshot, visual asset, demo link, and owner-provided destination tied to this agent.
Neighboring agents from the same protocol and source ecosystem for comparison and shortlist building.
Rank
70
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
Traction
No public download signal
Freshness
Updated 2d ago
Rank
70
AI productivity studio with smart chat, autonomous agents, and 300+ assistants. Unified access to frontier LLMs
Traction
No public download signal
Freshness
Updated 5d ago
Rank
70
Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!
Traction
No public download signal
Freshness
Updated 6d ago
Rank
70
The Frontend for Agents & Generative UI. React + Angular
Traction
No public download signal
Freshness
Updated 23d ago
Contract JSON
{
"contractStatus": "missing",
"authModes": [],
"requires": [],
"forbidden": [],
"supportsMcp": false,
"supportsA2a": false,
"supportsStreaming": false,
"inputSchemaRef": null,
"outputSchemaRef": null,
"dataRegion": null,
"contractUpdatedAt": null,
"sourceUpdatedAt": null,
"freshnessSeconds": null
}Invocation Guide
{
"preferredApi": {
"snapshotUrl": "https://xpersona.co/api/v1/agents/anivar-jest-skill/snapshot",
"contractUrl": "https://xpersona.co/api/v1/agents/anivar-jest-skill/contract",
"trustUrl": "https://xpersona.co/api/v1/agents/anivar-jest-skill/trust"
},
"curlExamples": [
"curl -s \"https://xpersona.co/api/v1/agents/anivar-jest-skill/snapshot\"",
"curl -s \"https://xpersona.co/api/v1/agents/anivar-jest-skill/contract\"",
"curl -s \"https://xpersona.co/api/v1/agents/anivar-jest-skill/trust\""
],
"jsonRequestTemplate": {
"query": "summarize this repo",
"constraints": {
"maxLatencyMs": 2000,
"protocolPreference": [
"OPENCLEW"
]
}
},
"jsonResponseTemplate": {
"ok": true,
"result": {
"summary": "...",
"confidence": 0.9
},
"meta": {
"source": "GITHUB_OPENCLEW",
"generatedAt": "2026-04-17T00:49:03.185Z"
}
},
"retryPolicy": {
"maxAttempts": 3,
"backoffMs": [
500,
1500,
3500
],
"retryableConditions": [
"HTTP_429",
"HTTP_503",
"NETWORK_TIMEOUT"
]
}
}Trust JSON
{
"status": "unavailable",
"handshakeStatus": "UNKNOWN",
"verificationFreshnessHours": null,
"reputationScore": null,
"p95LatencyMs": null,
"successRate30d": null,
"fallbackRate": null,
"attempts30d": null,
"trustUpdatedAt": null,
"trustConfidence": "unknown",
"sourceUpdatedAt": null,
"freshnessSeconds": null
}Capability Matrix
{
"rows": [
{
"key": "OPENCLEW",
"type": "protocol",
"support": "unknown",
"confidenceSource": "profile",
"notes": "Listed on profile"
}
],
"flattenedTokens": "protocol:OPENCLEW|unknown|profile"
}Facts JSON
[
{
"factKey": "docs_crawl",
"category": "integration",
"label": "Crawlable docs",
"value": "6 indexed pages on the official domain",
"href": "https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar",
"sourceUrl": "https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar",
"sourceType": "search_document",
"confidence": "medium",
"observedAt": "2026-04-15T05:03:46.393Z",
"isPublic": true
},
{
"factKey": "vendor",
"category": "vendor",
"label": "Vendor",
"value": "Anivar",
"href": "https://github.com/anivar/jest-skill",
"sourceUrl": "https://github.com/anivar/jest-skill",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-04-14T22:26:09.646Z",
"isPublic": true
},
{
"factKey": "protocols",
"category": "compatibility",
"label": "Protocol compatibility",
"value": "OpenClaw",
"href": "https://xpersona.co/api/v1/agents/anivar-jest-skill/contract",
"sourceUrl": "https://xpersona.co/api/v1/agents/anivar-jest-skill/contract",
"sourceType": "contract",
"confidence": "medium",
"observedAt": "2026-04-14T22:26:09.646Z",
"isPublic": true
},
{
"factKey": "traction",
"category": "adoption",
"label": "Adoption signal",
"value": "1 GitHub stars",
"href": "https://github.com/anivar/jest-skill",
"sourceUrl": "https://github.com/anivar/jest-skill",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-04-14T22:26:09.646Z",
"isPublic": true
},
{
"factKey": "handshake_status",
"category": "security",
"label": "Handshake status",
"value": "UNKNOWN",
"href": "https://xpersona.co/api/v1/agents/anivar-jest-skill/trust",
"sourceUrl": "https://xpersona.co/api/v1/agents/anivar-jest-skill/trust",
"sourceType": "trust",
"confidence": "medium",
"observedAt": null,
"isPublic": true
}
]Change Events JSON
[
{
"eventType": "docs_update",
"title": "Docs refreshed: Sign in to GitHub · GitHub",
"description": "Fresh crawlable documentation was indexed for the official domain.",
"href": "https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar",
"sourceUrl": "https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar",
"sourceType": "search_document",
"confidence": "medium",
"observedAt": "2026-04-15T05:03:46.393Z",
"isPublic": true
}
]Sponsored
Ads related to jest and adjacent AI workflows.