Skip to content

Commit

Permalink
Add minor markdown formatting to release docs for sandbox
Browse files Browse the repository at this point in the history
  • Loading branch information
craig-davis authored and mantoni committed Oct 1, 2020
1 parent e27727a commit b393422
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/release-source/release/sandbox.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,12 +108,12 @@ var sandbox = sinon.createSandbox({
});
```

##### injectInto
##### `injectInto`

The sandbox's methods can be injected into another object for convenience. The
`injectInto` configuration option can name an object to add properties to.

##### properties
##### `properties`

What properties to inject. Note that only naming "server" here is not
sufficient to have a `server` property show up in the target object, you also
Expand All @@ -132,13 +132,13 @@ returned by the function `inject`, namely:
}
```

##### useFakeTimers
##### `useFakeTimers`

If set to `true`, the sandbox will have a `clock` property. You can optionally pass
in a configuration object that follows the [specification for fake timers](../fake-timers),
such as `{ toFake: ["setTimeout", "setInterval"] }`.

##### useFakeServer
##### `useFakeServer`

If `true`, `server` and `requests` properties are added to the sandbox. Can
also be an object to use for fake server. The default one is `sinon.fakeServer`,
Expand Down

0 comments on commit b393422

Please sign in to comment.