cypress 4.9.0 → 4.12.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,6 @@
1
1
  // Type definitions for Sinon 9.0
2
2
  // Project: https://sinonjs.org
3
3
  // Definitions by: William Sears <https://github.com/mrbigdog2u>
4
- // Jonathan Little <https://github.com/rationull>
5
4
  // Lukas Spieß <https://github.com/lumaxis>
6
5
  // Nico Jansen <https://github.com/nicojs>
7
6
  // James Garbutt <https://github.com/43081j>
@@ -219,6 +218,11 @@ declare namespace Sinon {
219
218
  */
220
219
  returnValues: any[];
221
220
 
221
+ /**
222
+ * Holds a reference to the original method/function this stub has wrapped.
223
+ */
224
+ wrappedMethod: (...args: any[]) => any;
225
+
222
226
  // Methods
223
227
  (...args: any[]): any;
224
228
  /**
@@ -309,7 +313,7 @@ declare namespace Sinon {
309
313
  /**
310
314
  * Returns the nth call.
311
315
  * Accessing individual calls helps with more detailed behavior verification when the spy is called more than once.
312
- * @param n
316
+ * @param n Zero based index of the spy call.
313
317
  */
314
318
  getCall(n: number): SinonSpyCall;
315
319
  /**
@@ -215,6 +215,11 @@ declare namespace Sinon {
215
215
  */
216
216
  returnValues: TReturnValue[];
217
217
 
218
+ /**
219
+ * Holds a reference to the original method/function this stub has wrapped.
220
+ */
221
+ wrappedMethod: (...args: TArgs) => TReturnValue;
222
+
218
223
  // Methods
219
224
  (...args: TArgs): TReturnValue;
220
225
 
@@ -307,7 +312,7 @@ declare namespace Sinon {
307
312
  /**
308
313
  * Returns the nth call.
309
314
  * Accessing individual calls helps with more detailed behavior verification when the spy is called more than once.
310
- * @param n
315
+ * @param n Zero based index of the spy call.
311
316
  */
312
317
  getCall(n: number): SinonSpyCall<TArgs, TReturnValue>;
313
318
  /**