1.0.0 • Published 8 years ago

sinon-in-sandbox v1.0.0

Weekly downloads
3
License
MIT
Repository
github
Last release
8 years ago

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