sinon-in-sandbox

1.0.0 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i sinon-in-sandbox

Weekly Downloads

1

Version

1.0.0

License

MIT

Last publish

Collaborators

  • rstacruz