MCPcopy Index your code
hub / github.com/jasmine/jasmine

github.com/jasmine/jasmine @v6.3.0 sqlite

repository ↗ · DeepWiki ↗ · release v6.3.0 ↗
1,453 symbols 3,266 edges 289 files 126 documented · 9% 59 cross-repo links
README

Jasmine

A JavaScript Testing Framework

Jasmine is a Behavior Driven Development testing framework for JavaScript. It does not rely on browsers, DOM, or any JavaScript framework. Thus it's suited for websites, Node.js projects, or anywhere that JavaScript can run.

Upgrading from Jasmine 4.x? Check out the upgrade guide.

Contributing

Please read the contributors' guide.

Installation

There are several different ways to install Jasmine, depending on your environment and how you'd like to use it. See the Getting Started page for details.

Usage

See the documentation site, particularly the Your First Suite tutorial for information on writing specs, and the FAQ.

Supported environments

Jasmine tests itself across popular browsers (Safari, Chrome, Firefox, and Microsoft Edge) as well as Node.

Environment Supported versions
Node 20, 22, 24
Safari 26*
Chrome Evergreen
Firefox Evergreen, 140
Edge Evergreen

For evergreen browsers, each version of Jasmine is tested against the version of the browser that is available to us at the time of release. Other browsers, as well as older & newer versions of some supported browsers, are likely to work. However, Jasmine isn't tested against them and they aren't actively supported.

* Supported on a best-effort basis. Support for these versions may be dropped if it becomes impractical, and bugs affecting only these versions may not be treated as release blockers.

To find out what environments work with a particular Jasmine release, see the release notes.

Maintainers

Maintainers Emeritus

Copyright (c) 2008-2019 Pivotal Labs

Copyright (c) 2008-2026 The Jasmine developers

This software is licensed under the MIT License.

Core symbols most depended-on inside this repo

execute
called by 305
src/core/Runner.js
makePrettyPrinter
called by 153
src/core/RunableResources.js
asymmetricMatch
called by 143
src/core/asymmetric_equality/Is.js
compareEquals
called by 102
spec/core/matchers/toEqualSpec.js
add
called by 98
src/core/matchers/ObjectPath.js
install
called by 90
src/core/GlobalErrors.js
beforeEach
called by 87
spec/core/SuiteBuilderSpec.js
jasmineDone
called by 84
src/html/HtmlReporter.js

Shape

Function 716
Method 583
Class 154

Languages

TypeScript100%

Modules by API surface

lib/jasmine-core/jasmine.js445 symbols
lib/jasmine-core/jasmine-html.js135 symbols
src/core/Suite.js36 symbols
src/core/GlobalErrors.js32 symbols
src/html/HtmlReporterV2.js26 symbols
src/core/SuiteBuilder.js26 symbols
src/html/HtmlReporter.js24 symbols
src/core/Spec.js23 symbols
src/core/PrettyPrinter.js21 symbols
src/core/Env.js21 symbols
src/core/TreeRunner.js19 symbols
spec/core/integration/EnvSpec.js19 symbols

Dependencies from manifests, versioned

@eslint/eslintrc3.3.1 · 1×
@eslint/js9.24.0 · 1×
archiver7.0.1 · 1×
css-url-embed0.1.0 · 1×
ejs3.1.10 · 1×
eslint9.24.0 · 1×
glob13.0.0 · 1×
globals16.0.0 · 1×
jasminegithub:jasmine/jasmi · 1×
jasmine-browser-runnergithub:jasmine/jasmi · 1×
jsdom26.0.0 · 1×

For agents

$ claude mcp add jasmine \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact