This package has been deprecated

Author message:

sinon-dist is deprecated, use sinon instead: npm install sinon (the standalone file is in node_modules/sinon/pkg/sinon.js)

sinon-dist

1.15.4 • Public • Published

Sinon.JS standalone

This repository contains standalone builds of Sinon.js, ready to be used. All builds are directly fetched from sinonjs.org and tagged.

Installation

Via npm:

npm install sinon-dist

Install a specific version:

npm install sinon-dist@1.15.1

Install the latest version and save the version in package.json:

npm install sinon-dist --save-dev

Usage

Web page

<script src="node_modules/sinon.js"></script>
<!-- TODO: Use sinon API! -->

AMD

require.config({
    sinon: 'node_modules/sinon'
});
require(['sinon'], function(sinon) {
    // TODO: use sinon API!
});

Node.js (CommonJS)

var sinon = require('sinon');
// TODO: Use sinon API!

References

This repository is not affiliated in any way with the original authors of Sinon.js.

Readme

Keywords

Package Sidebar

Install

npm i sinon-dist

Weekly Downloads

2

Version

1.15.4

License

BSD-3-Clause

Last publish

Collaborators

  • rob-w