File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
docs/release-source/release Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -108,12 +108,12 @@ var sandbox = sinon.createSandbox({
108
108
});
109
109
```
110
110
111
- ##### injectInto
111
+ ##### ` injectInto `
112
112
113
113
The sandbox's methods can be injected into another object for convenience. The
114
114
` injectInto ` configuration option can name an object to add properties to.
115
115
116
- ##### properties
116
+ ##### ` properties `
117
117
118
118
What properties to inject. Note that only naming "server" here is not
119
119
sufficient to have a ` server ` property show up in the target object, you also
@@ -132,13 +132,13 @@ returned by the function `inject`, namely:
132
132
}
133
133
```
134
134
135
- ##### useFakeTimers
135
+ ##### ` useFakeTimers `
136
136
137
137
If set to ` true ` , the sandbox will have a ` clock ` property. You can optionally pass
138
138
in a configuration object that follows the [ specification for fake timers] ( ../fake-timers ) ,
139
139
such as ` { toFake: ["setTimeout", "setInterval"] } ` .
140
140
141
- ##### useFakeServer
141
+ ##### ` useFakeServer `
142
142
143
143
If ` true ` , ` server ` and ` requests ` properties are added to the sandbox. Can
144
144
also be an object to use for fake server. The default one is ` sinon.fakeServer ` ,
You can’t perform that action at this time.
0 commit comments