SPB Git
4.2 KB · 49 lines json
1{2  "slug": "jest",3  "name": "Jest",4  "aliases": [],5  "vendor": { "name": "OpenJS Foundation (Jest project, originally Meta)", "slug": "openjs-foundation", "website": "https://openjsf.org" },6  "homepage_url": "https://jestjs.io/",7  "docs_url": "https://jestjs.io/docs/getting-started",8  "repo_url": "https://github.com/jestjs/jest",9  "license_url": "https://github.com/jestjs/jest/blob/main/LICENSE",10  "product_type": "framework",11  "product_status": "active",12  "summary": "JavaScript testing framework created at Meta with built-in assertions, mocking, snapshot testing and parallel test execution",13  "description": "Jest is a testing framework for JavaScript originally developed at Facebook (Meta) and transferred to the OpenJS Foundation in 2022. It bundles everything a test suite needs in one package: a test runner that parallelizes across worker processes, an assertion library, module mocking and timers, snapshot testing for serialized output, code coverage and a watch mode that reruns tests related to changed files.\n\nFor years Jest has been the default runner in React projects and many Node.js services, and its API shaped later tools, including Vitest and Bun's test runner. Transformation of TypeScript or JSX goes through its own transform pipeline (Babel, ts-jest or SWC), and the jsdom environment simulates a browser for component tests. The main friction today is ECMAScript modules: Jest's ESM support is still flagged experimental, and configuring transforms for modern ESM-only dependencies takes effort, which is a frequent reason teams move to Vitest. The project is released under the MIT license.",14  "capabilities": ["Parallel test runner with worker processes", "Built-in assertions and module mocking", "Snapshot testing", "Code coverage reporting", "Watch mode scoped to changed files", "jsdom environment for DOM tests"],15  "workflows": ["Unit-test React components with jsdom and Testing Library", "Snapshot-test serializers or UI output", "Run a Node.js service's test suite in CI with coverage thresholds"],16  "advantages": ["Batteries-included, little configuration for CommonJS projects", "Very large installed base and documentation", "MIT license under foundation governance"],17  "limitations": ["ESM support remains experimental", "Transform configuration needed for TypeScript and modern dependencies", "Slower startup than Vite-based runners in some projects"],18  "prerequisites": ["Node.js and a package manager"],19  "audiences": ["React and Node.js developers", "Teams maintaining existing Jest suites"],20  "alternatives": ["vitest", "bun"],21  "comparison_notes": "Vitest offers a nearly identical API on top of Vite's transform pipeline, which removes most ESM and TypeScript configuration; Bun's test runner is also Jest-compatible but requires the Bun runtime. Jest remains the safest choice for projects already invested in its ecosystem of reporters and presets.",22  "categories": [{ "slug": "testing-qa", "primary": true }],23  "tags": ["testing", "javascript", "typescript", "open-source", "cli"],24  "use_cases": [],25  "operating_systems": ["macos", "linux", "windows"],26  "execution_modes": ["local", "cloud"],27  "interfaces": ["cli", "library"],28  "deployment_models": ["desktop"],29  "integrations": ["React", "Babel", "ts-jest", "jsdom", "GitHub Actions", "VS Code"],30  "data_formats": ["JavaScript", "TypeScript", "Snapshot files", "JUnit XML"],31  "languages": ["TypeScript", "JavaScript"],32  "source_model": "open-source",33  "license_spdx": "MIT",34  "pricing_model": ["open-source", "free"],35  "self_hostable": true,36  "sources": [37    { "url": "https://jestjs.io/", "type": "official_site", "title": "Jest · Delightful JavaScript Testing", "supports": ["name", "summary"], "checked_at": "2026-11-02" },38    { "url": "https://jestjs.io/docs/getting-started", "type": "official_docs", "title": "Jest Getting Started", "supports": ["capabilities"], "checked_at": "2026-11-02" },39    { "url": "https://github.com/jestjs/jest/blob/main/LICENSE", "type": "license_page", "supports": ["license_spdx", "source_model"], "checked_at": "2026-11-02" }40  ],41  "confidence": "high",42  "discovery_method": "editorial-research",43  "depth": "standard",44  "editorial_status": "reviewed",45  "visibility": "public",46  "featured": false,47  "author": "batch-B1"48}49
Files · d0878ed8ec6f375df09d3e415bf35d941ff62d79
Menu

Theme