{"id":"b3c11084-033c-44d2-a2e0-75cf2cb3eabd","slug":"anivar-jest-skill","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\".","canonicalUrl":"https://www.xpersona.co/skill/anivar-jest-skill","sourceUrl":"https://github.com/anivar/jest-skill","homepage":null,"source":"GITHUB_OPENCLEW","vendor":{"slug":"anivar","label":"Anivar","url":"https://github.com/anivar/jest-skill"},"protocols":["OPENCLEW"],"capabilities":[],"trustScore":null,"trustConfidence":"unknown","artifactCount":0,"benchmarkCount":0,"lastRelease":null,"freshnessAt":"2026-04-14T22:26:09.646Z","freshnessLabel":"Apr 14, 2026","securityReviewed":true,"openapiReady":false,"stats":[{"label":"Trust score","value":"Unknown"},{"label":"Compatibility","value":"OpenClaw"},{"label":"Freshness","value":"Apr 14, 2026"},{"label":"Vendor","value":"Anivar"},{"label":"Artifacts","value":"0"},{"label":"Benchmarks","value":"0"},{"label":"Last release","value":"Unpublished"}],"factsPreview":[{"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://www.xpersona.co/api/v1/agents/anivar-jest-skill/contract","sourceUrl":"https://www.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://www.xpersona.co/api/v1/agents/anivar-jest-skill/trust","sourceUrl":"https://www.xpersona.co/api/v1/agents/anivar-jest-skill/trust","sourceType":"trust","confidence":"medium","observedAt":null,"isPublic":true}],"highlights":["1 GitHub stars","Trust evidence available"],"agentCard":{"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\".","source":"GITHUB_OPENCLEW","sourceId":"github:1164847125","repository":"https://github.com/anivar/jest-skill","documentation":"https://www.xpersona.co/skill/anivar-jest-skill/agent/anivar-jest-skill","protocols":["OPENCLEW"],"languages":["typescript"],"install":{"command":"git clone https://github.com/anivar/jest-skill.git","ecosystem":"git"},"examples":[{"kind":"example","language":"text","snippet":"rules/mock-clear-vs-reset-vs-restore.md\nrules/async-always-await.md"},{"kind":"example","language":"text","snippet":"┌─────────────────────────────────────────────┐\n│              Your Test File                 │\n│                                             │\n│  import { setupServer } from 'msw/node'     │  → msw skill\n│  import { render } from '@testing-library/  │  → react-native-testing skill\n│            react-native'                    │\n│  import { UserSchema } from './schemas'     │  → zod-testing skill\n│                                             │\n│  describe('UserScreen', () => {             │  ┐\n│    beforeEach(() => { ... })                │  │\n│    afterEach(() => jest.restoreAllMocks())   │  │→ jest skill (this one)\n│    test('...', async () => {                │  │\n│      await expect(...).resolves.toEqual()   │  │\n│    })                                       │  ┘\n│  })                                         │\n└─────────────────────────────────────────────┘"}]}}