Skip to content

Commit

Permalink
Fix sandbox documentation
Browse files Browse the repository at this point in the history
refs: #1788
  • Loading branch information
Igor Savin authored and mroderick committed May 12, 2018
1 parent b578cf7 commit a321764
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/release-source/release/sandbox.md
Expand Up @@ -7,7 +7,7 @@ breadcrumb: sandbox
Sandboxes removes the need to keep track of every fake created, which greatly simplifies cleanup.

```javascript
var sandbox = require('sinon').sandbox;
var sandbox = require('sinon').createSandbox();
var myAPI = { hello: function () {} };

describe('myAPI.hello method', function () {
Expand Down

0 comments on commit a321764

Please sign in to comment.