@sprucelabs/test-utils 5.1.380 → 5.1.381
Sign up to get free protection for your applications and to get access to all the features.
package/build/assert/assert.d.ts
CHANGED
@@ -41,8 +41,8 @@ export interface ISpruceAssert {
|
|
41
41
|
doesThrow(cb: () => any, matcher?: string | RegExp | undefined, msg?: string | undefined): Error;
|
42
42
|
doesThrowAsync(cb: () => any | Promise<any>, matcher?: string | RegExp | undefined, msg?: string | undefined): Promise<Error>;
|
43
43
|
fail(message?: string): void;
|
44
|
-
isBetween(actual:
|
45
|
-
isBetweenInclusive(actual:
|
44
|
+
isBetween(actual: any, floor: number, ceiling: number, message?: string): asserts actual is number;
|
45
|
+
isBetweenInclusive(actual: any, floor: number, ceiling: number, message?: string): asserts actual is number;
|
46
46
|
}
|
47
47
|
declare const assert: ISpruceAssert;
|
48
48
|
export default assert;
|
package/build/assert/assert.js
CHANGED
@@ -41,8 +41,8 @@ export interface ISpruceAssert {
|
|
41
41
|
doesThrow(cb: () => any, matcher?: string | RegExp | undefined, msg?: string | undefined): Error;
|
42
42
|
doesThrowAsync(cb: () => any | Promise<any>, matcher?: string | RegExp | undefined, msg?: string | undefined): Promise<Error>;
|
43
43
|
fail(message?: string): void;
|
44
|
-
isBetween(actual:
|
45
|
-
isBetweenInclusive(actual:
|
44
|
+
isBetween(actual: any, floor: number, ceiling: number, message?: string): asserts actual is number;
|
45
|
+
isBetweenInclusive(actual: any, floor: number, ceiling: number, message?: string): asserts actual is number;
|
46
46
|
}
|
47
47
|
declare const assert: ISpruceAssert;
|
48
48
|
export default assert;
|