sinon

WebJar for sinon

License

License

BSD 3-Clause
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

sinon
Last Version

Last Version

4.4.2
Release Date

Release Date

Type

Type

jar
Description

Description

sinon
WebJar for sinon
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/sinonjs/sinon

Download sinon

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/sinon/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>sinon</artifactId>
    <version>4.4.2</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/sinon/
implementation 'org.webjars.npm:sinon:4.4.2'
// https://jarcasting.com/artifacts/org.webjars.npm/sinon/
implementation ("org.webjars.npm:sinon:4.4.2")
'org.webjars.npm:sinon:jar:4.4.2'
<dependency org="org.webjars.npm" name="sinon" rev="4.4.2">
  <artifact name="sinon" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='sinon', version='4.4.2')
)
libraryDependencies += "org.webjars.npm" % "sinon" % "4.4.2"
[org.webjars.npm/sinon "4.4.2"]

Dependencies

compile (7)

Group / Artifact Type Version
org.webjars.npm : supports-color jar [5.1.0,6)
org.webjars.npm : nise jar [1.2.0,2)
org.webjars.npm : diff jar [3.1.0,4)
org.webjars.npm : type-detect jar [4.0.5,5)
org.webjars.npm : sinonjs__formatio jar [2.0.0,3)
org.webjars.npm : lolex jar [2.2.0,3)
org.webjars.npm : lodash.get jar [4.4.2,5)

Project Modules

There are no modules declared in this project.

Sinon.JS
Sinon.JS

Standalone and test framework agnostic JavaScript test spies, stubs and mocks (pronounced "sigh-non", named after Sinon, the warrior).

npm version Join the chat at https://gitter.im/sinonjs/sinon Build status Sauce Test Status Codecov status OpenCollective OpenCollective npm downloads per month CDNJS version Contributor Covenant

Sauce Test Status

Compatibility

For details on compatibility and browser support, please see COMPATIBILITY.md

Installation

via npm

$ npm install sinon

or via sinon's browser builds available for download on the homepage. There are also npm based CDNs one can use.

Usage

See the sinon project homepage for documentation on usage.

If you have questions that are not covered by the documentation, you can check out the sinon tag on Stack Overflow or drop by #sinon.js on irc.freenode.net:6667.

You can also search through the Sinon.JS mailing list archives.

Goals

  • No global pollution
  • Easy to use
  • Require minimal “integration”
  • Easy to embed seamlessly with any testing framework
  • Easily fake any interface
  • Ship with ready-to-use fakes for XMLHttpRequest, timers and more

Contribute?

See CONTRIBUTING.md for details on how you can contribute to Sinon.JS

Backers

Support us with a monthly donation and help us continue our activities. [Become a backer]

Sponsors

Become a sponsor and get your logo on our README on GitHub with a link to your site. [Become a sponsor]

Licence

Sinon.js was released under BSD-3

org.webjars.npm

Sinon.JS

Standalone test spies, stubs and mocks for JavaScript.

Versions

Version
4.4.2
4.1.3
4.1.2
4.0.1
3.3.0
3.2.1
2.4.1
2.0.0
1.17.7
1.17.4
1.17.2
1.16.1