jasmine
DefinitelyTyped icon, indicating that this package has TypeScript declarations provided by the separate @types/jasmine package

5.2.0 • Public • Published

The Jasmine Package

The jasmine package is a command line interface and supporting code for running Jasmine specs under Node.

The core of jasmine lives at https://github.com/jasmine/jasmine and is jasmine-core in npm.

Contents

This package allows you to run Jasmine specs for your Node.js code. The output will be displayed in your terminal by default.

Documentation

https://jasmine.github.io/setup/nodejs.html

Quick Start

Installation:

npm install --save-dev jasmine

To initialize a project for Jasmine:

npx jasmine init

To seed your project with some examples:

npx jasmine examples

To run your test suite:

npx jasmine

ES and CommonJS module compatibility

Jasmine is compatible with both ES modules and CommonJS modules. See the setup guide for more information.

Node version compatibility

Jasmine supports Node 18, 20, and 22.

Support

Documentation: jasmine.github.io Please file issues here at GitHub.

Copyright (c) 2014-2019 Pivotal Labs Copyright (c) 2014-2023 The Jasmine developers This software is licensed under the MIT License.

License

FOSSA Status

Package Sidebar

Install

npm i jasmine

Weekly Downloads

1,345,753

Version

5.2.0

License

MIT

Unpacked Size

78.9 kB

Total Files

18

Last publish

Collaborators

  • slackersoft
  • sgravrock
  • dwfrank
  • amavisca