@sprucelabs/test-utils 6.0.73 → 6.0.75
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/decorators.js +1 -1
- package/build/esm/decorators.js +1 -1
- package/package.json +2 -2
package/build/decorators.js
CHANGED
@@ -132,7 +132,7 @@ function test(description, ...args) {
|
|
132
132
|
it(description ?? propertyKey, async () => {
|
133
133
|
const Resolved = SpruceTestResolver_1.default.resolveTestClass(Target);
|
134
134
|
if (!Resolved[propertyKey]) {
|
135
|
-
throw new Error(`The test '${propertyKey}()' should NOT be static when tests run with suite()
|
135
|
+
throw new Error(`The test '${propertyKey}()' should NOT be static when tests run with suite(). Or, if you are not using suite(), you MUST make your test static.`);
|
136
136
|
}
|
137
137
|
const bound = descriptor.value.bind(Resolved);
|
138
138
|
//@ts-ignore
|
package/build/esm/decorators.js
CHANGED
@@ -98,7 +98,7 @@ export default function test(description, ...args) {
|
|
98
98
|
it(description !== null && description !== void 0 ? description : propertyKey, async () => {
|
99
99
|
const Resolved = SpruceTestResolver.resolveTestClass(Target);
|
100
100
|
if (!Resolved[propertyKey]) {
|
101
|
-
throw new Error(`The test '${propertyKey}()' should NOT be static when tests run with suite()
|
101
|
+
throw new Error(`The test '${propertyKey}()' should NOT be static when tests run with suite(). Or, if you are not using suite(), you MUST make your test static.`);
|
102
102
|
}
|
103
103
|
const bound = descriptor.value.bind(Resolved);
|
104
104
|
//@ts-ignore
|
package/package.json
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
"publishConfig": {
|
4
4
|
"access": "public"
|
5
5
|
},
|
6
|
-
"version": "6.0.
|
6
|
+
"version": "6.0.75",
|
7
7
|
"files": [
|
8
8
|
"build"
|
9
9
|
],
|
@@ -76,7 +76,7 @@
|
|
76
76
|
"@types/deep-equal": "^1.0.4",
|
77
77
|
"@types/jest": "^30.0.0",
|
78
78
|
"@types/lodash": "^4.17.20",
|
79
|
-
"@types/node": "^24.3.
|
79
|
+
"@types/node": "^24.3.2",
|
80
80
|
"chokidar-cli": "^3.0.0",
|
81
81
|
"eslint": "^9.35.0",
|
82
82
|
"eslint-config-spruce": "^11.2.26",
|