@sprucelabs/test-utils 5.1.379 → 5.1.381
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.
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;
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "5.1.
|
|
6
|
+
"version": "5.1.381",
|
|
7
7
|
"files": [
|
|
8
8
|
"build"
|
|
9
9
|
],
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"watch.tsc": "tsc -w"
|
|
61
61
|
},
|
|
62
62
|
"dependencies": {
|
|
63
|
-
"@sprucelabs/error": "^6.0.
|
|
63
|
+
"@sprucelabs/error": "^6.0.432",
|
|
64
64
|
"deep-equal": "^2.2.3",
|
|
65
65
|
"just-clone": "^6.2.0",
|
|
66
66
|
"lodash": "^4.17.21",
|
|
@@ -68,8 +68,8 @@
|
|
|
68
68
|
"variable-diff": "^2.0.2"
|
|
69
69
|
},
|
|
70
70
|
"devDependencies": {
|
|
71
|
-
"@sprucelabs/esm-postbuild": "^6.0.
|
|
72
|
-
"@sprucelabs/jest-json-reporter": "^8.0.
|
|
71
|
+
"@sprucelabs/esm-postbuild": "^6.0.416",
|
|
72
|
+
"@sprucelabs/jest-json-reporter": "^8.0.432",
|
|
73
73
|
"@sprucelabs/jest-sheets-reporter": "^2.0.20",
|
|
74
74
|
"@sprucelabs/semantic-release": "^5.0.2",
|
|
75
75
|
"@sprucelabs/test": "^9.0.48",
|