sinon-as-promised
Advanced tools
Comparing version 2.0.0 to 2.0.1
{ | ||
"name": "sinon-as-promised", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"homepage": "https://github.com/bendrucker/sinon-as-promised", | ||
@@ -5,0 +5,0 @@ "authors": [ |
{ | ||
"name": "sinon-as-promised", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "Sugar methods for using sinon.js stubs with promises", | ||
@@ -5,0 +5,0 @@ "main": "./src", |
@@ -6,3 +6,13 @@ sinon-as-promised [![Build Status](https://travis-ci.org/bendrucker/sinon-as-promised.svg?branch=master)](https://travis-ci.org/bendrucker/sinon-as-promised) [![NPM version](https://badge.fury.io/js/sinon-as-promised.svg)](http://badge.fury.io/js/sinon-as-promised) | ||
## Getting Started | ||
## Installing | ||
```bash | ||
# via npm: | ||
$ npm install sinon-as-promised | ||
# or bower: | ||
$ bower install sinon-as-promised | ||
``` | ||
Tagged versions (which Bower uses) include a `./release/sinon-as-promised.js` build that expect sinon to be available as `window.sinon`. The normal version in `./src` used by npm expects to be able to `require('sinon')`. | ||
## Setup | ||
```js | ||
@@ -23,3 +33,3 @@ var sinon = require('sinon'); | ||
## Usage | ||
## API | ||
@@ -26,0 +36,0 @@ #### `stub.resolves(value)` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6972
76