sinon-in-sandbox
Performs certain actions inside a Sinon sandbox
Last updated 5 years ago by rstacruz .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install sinon-in-sandbox 
SYNC missed versions from official npm registry.

sinon-in-sandbox

Performs certain actions inside a Sinon sandbox

Usage

var sandbox = require('sinon-in-sandbox')

sandbox((sinon) => {
  // use sinon here. it'll automatically be cleaned up afterwards.
})

Thanks

sinon-in-sandbox © 2016+, Rico Sta. Cruz. Released under the MIT License.
Authored and maintained by Rico Sta. Cruz with help from contributors (list).

ricostacruz.com  ·  GitHub @rstacruz  ·  Twitter @rstacruz

Current Tags

  • 1.0.0                                ...           latest (5 years ago)

1 Versions

  • 1.0.0                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (2)
Dependents (1)

Copyright 2014 - 2017 © taobao.org |