Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

sinon-as-promised

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sinon-as-promised - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

2

bower.json
{
"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)`

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc