@@ -17,9 +17,9 @@ export class TestingTests extends TestingCore {
17
17
* @param execute Whether or not to execute the spec.
18
18
* @returns The return value is an instance of a `TestingTests`.
19
19
*/
20
- public toBe (
20
+ public toBe < Value > (
21
21
expectation : string ,
22
- value : any ,
22
+ value : Value ,
23
23
expected : any ,
24
24
execute ?: boolean
25
25
) : this {
@@ -52,7 +52,7 @@ export class TestingTests extends TestingCore {
52
52
/**
53
53
* Executes the spec on a state `true` from the `execute` expecting the provided `value` to be a `bigint` type
54
54
* on the `expected` of `true`.
55
- * @param value Any kind of value to check.
55
+ * @param value The value of any type to check.
56
56
* @param execute Whether or not to execute the spec, by default it's set to `true`.
57
57
* @param expectation The message for the karma, which by default is set to `The value must be a bigint type`.
58
58
* @param expected Expects the result of the expectation must be `true` or `false`, by default it's `true`.
@@ -71,7 +71,7 @@ export class TestingTests extends TestingCore {
71
71
/**
72
72
* Executes the spec on a state `true` from the `execute` expecting the provided `value` to be of a `boolean` type
73
73
* on the `expected` of `true`.
74
- * @param value Any kind of value to check.
74
+ * @param value The value of any type to check.
75
75
* @param execute Whether or not to execute the spec, by default it's set to `true`.
76
76
* @param expectation The message for the karma, which by default is set to `The value must be of a boolean type`.
77
77
* @param expected Expects the result of the expectation must be `true` or `false`, by default it's `true`.
@@ -90,7 +90,7 @@ export class TestingTests extends TestingCore {
90
90
/**
91
91
* Executes the spec on a state `true` from the `execute` expecting the provided `value` to be a `class`
92
92
* on the `expected` of `true`.
93
- * @param value Any kind of value to check.
93
+ * @param value The value of any type to check.
94
94
* @param execute Whether or not to execute the spec, by default it's set to `true`.
95
95
* @param expectation The message for the karma, which by default is set to `The value must be a class`.
96
96
* @param expected Expects the result of the expectation must be `true` or `false`, by default it's `true`.
@@ -111,7 +111,7 @@ export class TestingTests extends TestingCore {
111
111
/**
112
112
* Executes the spec on a state `true` from the `execute` expecting the provided `value` to be an instance of an `Array`
113
113
* on the `expected` of `true`.
114
- * @param value Any kind of value to check.
114
+ * @param value The value of any type to check.
115
115
* @param execute Whether or not to execute the spec, by default it's set to `true`.
116
116
* @param expectation The message for the karma, which by default is set to
117
117
* `The value must be an instance of an Array`.
@@ -131,7 +131,7 @@ export class TestingTests extends TestingCore {
131
131
/**
132
132
* Executes the spec on a state `true` from the `execute` expecting the provided `value` to be an instance of `Boolean`
133
133
* on the `expected` of `true`.
134
- * @param value Any kind of value to check.
134
+ * @param value The value of any type to check.
135
135
* @param execute Whether or not to execute the spec, by default it's set to `true`.
136
136
* @param expectation The message for the karma, which by default is set to
137
137
* `The value must be an instance of Boolean`.
@@ -151,7 +151,7 @@ export class TestingTests extends TestingCore {
151
151
/**
152
152
* Executes the spec on a state `true` from the `execute` expecting the provided `value` to be an instance of `Date`
153
153
* on the `expected` of `true`.
154
- * @param value Any kind of value to check.
154
+ * @param value The value of any type to check.
155
155
* @param execute Whether or not to execute the spec, by default it's set to `true`.
156
156
* @param expectation The message for the karma, which by default is set to
157
157
* `The value must be an instance of Date`.
@@ -171,7 +171,7 @@ export class TestingTests extends TestingCore {
171
171
/**
172
172
* Executes the spec on a state `true` from the `execute` expecting the provided `value` to be an instance of an `Error`
173
173
* on the `expected` of `true`.
174
- * @param value Any kind of value to check.
174
+ * @param value The value of any type to check.
175
175
* @param execute Whether or not to execute the spec, by default it's set to `true`.
176
176
* @param expectation The message for the karma, which by default is set to
177
177
* `The value must be an instance of an Error`.
@@ -191,7 +191,7 @@ export class TestingTests extends TestingCore {
191
191
/**
192
192
* Executes the spec on a state `true` from the `execute` expecting the provided `value` to be an instance of a `Function`
193
193
* on the `expected` of `true`.
194
- * @param value Any kind of value to check.
194
+ * @param value The value of any type to check.
195
195
* @param execute Whether or not to execute the spec, by default it's set to `true`.
196
196
* @param expectation The message for the karma, which by default is set to
197
197
* `The value must be an instance of a Function`.
@@ -211,7 +211,7 @@ export class TestingTests extends TestingCore {
211
211
/**
212
212
* Executes the spec on a state `true` from the `execute` expecting the provided `value` to be an instance of a `Map`
213
213
* on the `expected` of `true`.
214
- * @param value Any kind of value to check.
214
+ * @param value The value of any type to check.
215
215
* @param execute Whether or not to execute the spec, by default it's set to `true`.
216
216
* @param expectation The message for the karma, which by default is set to
217
217
* `The value must be an instance of a Map.
@@ -231,7 +231,7 @@ export class TestingTests extends TestingCore {
231
231
/**
232
232
* Executes the spec on a state `true` from the `execute` expecting the provided `value` to be an instance of a `Number`
233
233
* on the `expected` of `true`.
234
- * @param value Any kind of value to check.
234
+ * @param value The value of any type to check.
235
235
* @param execute Whether or not to execute the spec, by default it's set to `true`.
236
236
* @param expectation The message for the karma, which by default is set to
237
237
* `The value must be an instance of a Number.
@@ -251,7 +251,7 @@ export class TestingTests extends TestingCore {
251
251
/**
252
252
* Executes the spec on a state `true` from the `execute` expecting the provided `value` to be an instance of an `Object`
253
253
* on the `expected` of `true`.
254
- * @param value Any kind of value to check.
254
+ * @param value The value of any type to check.
255
255
* @param execute Whether or not to execute the spec, by default it's set to `true`.
256
256
* @param expectation The message for the karma, which by default is set to
257
257
* `The value must be an instance of an Object.
@@ -271,7 +271,7 @@ export class TestingTests extends TestingCore {
271
271
/**
272
272
* Executes the spec on a state `true` from the `execute` expecting the provided `value` to be an instance of `Promise`
273
273
* on the `expected` of `true`.
274
- * @param value Any kind of value to check.
274
+ * @param value The value of any type to check.
275
275
* @param execute Whether or not to execute the spec, by default it's set to `true`.
276
276
* @param expectation The message for the karma, which by default is set to
277
277
* `The value must be an instance of Promise`.
@@ -292,7 +292,7 @@ export class TestingTests extends TestingCore {
292
292
* Executes the spec on a state `true` from the `execute` expecting the provided `value` to be an instance of `RangeError`
293
293
* on the `expected` state.
294
294
* by default of `true`.
295
- * @param value Any kind of value to check.
295
+ * @param value The value of any type to check.
296
296
* @param execute Whether or not to execute the spec.
297
297
* @param expectation The message for the karma, which by default is set to
298
298
* `The value must be an instance of RangeError.
@@ -312,7 +312,7 @@ export class TestingTests extends TestingCore {
312
312
/**
313
313
* Executes the spec on a state `true` from the `execute` expecting the provided `value` to be an instance of `ReferenceError`
314
314
* on the `expected` of `true`.
315
- * @param value Any kind of value to check.
315
+ * @param value The value of any type to check.
316
316
* @param execute Whether or not to execute the spec, by default it's set to `true`.
317
317
* @param expectation The message for the karma, which by default is set to
318
318
* `The value must be an instance of ReferenceError.
@@ -332,7 +332,7 @@ export class TestingTests extends TestingCore {
332
332
/**
333
333
* Executes the spec on a state `true` from the `execute` expecting the provided `value` to be an instance of `RegExp`
334
334
* on the `expected` of `true`.
335
- * @param value Any kind of value to check.
335
+ * @param value The value of any type to check.
336
336
* @param execute Whether or not to execute the spec, by default it's set to `true`.
337
337
* @param expectation The message for the karma, which by default is set to
338
338
* `The value must be an instance of RegExp.
@@ -352,7 +352,7 @@ export class TestingTests extends TestingCore {
352
352
/**
353
353
* Executes the spec on a state `true` from the `execute` expecting the provided `value` to be an instance of `Set`
354
354
* on the `expected` of `true`.
355
- * @param value Any kind of value to check.
355
+ * @param value The value of any type to check.
356
356
* @param execute Whether or not to execute the spec, by default it's set to `true`.
357
357
* @param expectation The message for the karma, which by default is set to
358
358
* `The value must be an instance of Set.
@@ -372,7 +372,7 @@ export class TestingTests extends TestingCore {
372
372
/**
373
373
* Executes the spec on a state `true` from the `execute` expecting the provided `value` to be an instance of `Storage`
374
374
* on the `expected` of `true`.
375
- * @param value Any kind of value to check.
375
+ * @param value The value of any type to check.
376
376
* @param execute Whether or not to execute the spec, by default it's set to `true`.
377
377
* @param expectation The message for the karma, which by default is set to
378
378
* `The value must be an instance of Storage.
@@ -392,7 +392,7 @@ export class TestingTests extends TestingCore {
392
392
/**
393
393
* Executes the spec on a state `true` from the `execute` expecting the provided `value` to be an instance of a `String`
394
394
* on the `expected` of `true`.
395
- * @param value Any kind of value to check.
395
+ * @param value The value of any type to check.
396
396
* @param expectation The message for the karma, which by default is set to
397
397
* `The value must be an instance of a String.
398
398
* @param expected Expects the result of the expectation must be `true` or `false`, by default it's `true`.
@@ -413,7 +413,7 @@ export class TestingTests extends TestingCore {
413
413
* Executes the spec on a state `true` from the `execute` expecting the provided `value` to be an instance of `SyntaxError`
414
414
* on the `expected` of `true`.
415
415
* by default of `true`.
416
- * @param value Any kind of value to check.
416
+ * @param value The value of any type to check.
417
417
* @param execute Whether or not to execute the spec, by default it's set to `true`.
418
418
* @param expectation The message for the karma, which by default is set to
419
419
* `The value must be an instance of SyntaxError.
@@ -433,7 +433,7 @@ export class TestingTests extends TestingCore {
433
433
/**
434
434
* Executes the spec on a state `true` from the `execute` expecting the provided `value` to be an instance of `TypeError`
435
435
* on the `expected` of `true`.
436
- * @param value Any kind of value to check.
436
+ * @param value The value of any type to check.
437
437
* @param execute Whether or not to execute the spec, by default it's set to `true`.
438
438
* @param expectation The message for the karma, which by default is set to
439
439
* `The value must be an instance of TypeError.
@@ -453,7 +453,7 @@ export class TestingTests extends TestingCore {
453
453
/**
454
454
* Executes the spec on a state `true` from the `execute` expecting the provided `value` to be an instance of `URIError`
455
455
* on the `expected` of `true`.
456
- * @param value Any kind of value to check.
456
+ * @param value The value of any type to check.
457
457
* @param execute Whether or not to execute the spec, by default it's set to `true`.
458
458
* @param expectation The message for the karma, which by default is set to
459
459
* `The value must be an instance of URIError.
@@ -473,7 +473,7 @@ export class TestingTests extends TestingCore {
473
473
/**
474
474
* Executes the spec on a state `true` from the `execute` expecting the provided `value` to be an instance of a `WeakSet`
475
475
* on the `expected` of `true`.
476
- * @param value Any kind of value to check.
476
+ * @param value The value of any type to check.
477
477
* @param execute Whether or not to execute the spec, by default it's set to `true`.
478
478
* @param expectation The message for the karma, which by default is set to
479
479
* `The value must be an instance of a WeakSet.
@@ -493,7 +493,7 @@ export class TestingTests extends TestingCore {
493
493
494
494
/**
495
495
* Executes the spec on a state `true` from the `execute` expecting the provided `value` to be `null` on the `expected` of `true`.
496
- * @param value Any kind of value to check.
496
+ * @param value The value of any type to check.
497
497
* @param execute Whether or not to execute the spec, by default it's set to `true`.
498
498
* @param expectation The message for the karma, which by default is set to `The value must be \`null\``.
499
499
* @param expected Expects the result of the expectation must be `true` or `false`, by default it's `true`.
@@ -512,7 +512,7 @@ export class TestingTests extends TestingCore {
512
512
/**
513
513
* Executes the spec on a state `true` from the `execute` expecting the provided `value` to be of a `number` type
514
514
* on the `expected` of `true`.
515
- * @param value Any kind of value to check.
515
+ * @param value The value of any type to check.
516
516
* @param execute Whether or not to execute the spec, by default it's set to `true`.
517
517
* @param expectation The message for the karma, which by default is set to `The value must be of a \`number\` type`.
518
518
* @param expected Expects the result of the expectation must be `true` or `false`, by default it's `true`.
@@ -531,7 +531,7 @@ export class TestingTests extends TestingCore {
531
531
/**
532
532
* Executes the spec on a state `true` from the `execute` expecting the provided `value` to be of a `string` type
533
533
* on the `expected` of `true`.
534
- * @param value Any kind of value to check.
534
+ * @param value The value of any type to check.
535
535
* @param execute Whether or not to execute the spec, by default it's set to `true`.
536
536
* @param expectation The message for the karma, which by default is set to `The value must be of a \`string\` type`.
537
537
* @param expected The value can be `true` or `false`, by default it's `true`.
@@ -558,9 +558,9 @@ export class TestingTests extends TestingCore {
558
558
* @param execute Whether or not to execute the spec.
559
559
* @returns The return value is an instance of a `TestingTests`.
560
560
*/
561
- public toEqual (
561
+ public toEqual < Value > (
562
562
expectation : string ,
563
- value : any ,
563
+ value : Value ,
564
564
expected : any ,
565
565
execute ?: boolean
566
566
) : this {
0 commit comments