@sprucelabs/test-utils 5.1.546 → 5.1.548

Sign up to get free protection for your applications and to get access to all the features.
@@ -181,7 +181,7 @@ const assert = {
181
181
  msg = `The path ${stringify(path)} was not found in ${stringify(haystack)}`;
182
182
  }
183
183
  else {
184
- msg = `Expected ${chalk_1.default.green(stringify(needle[path]))} but found ${chalk_1.default.red(stringify(actual))} at ${stringify(path)} in ${stringify(haystack)}`;
184
+ msg = `Expected:\n${chalk_1.default.green(stringify(needle[path]))}\nbut found:\n${chalk_1.default.red(stringify(actual))}\nat:\n${stringify(path)}\nin:\n${stringify(haystack)}`;
185
185
  }
186
186
  if (typeof expected === 'string' &&
187
187
  typeof actual === 'string' &&
@@ -162,7 +162,7 @@ const assert = {
162
162
  msg = `The path ${stringify(path)} was not found in ${stringify(haystack)}`;
163
163
  }
164
164
  else {
165
- msg = `Expected ${chalk.green(stringify(needle[path]))} but found ${chalk.red(stringify(actual))} at ${stringify(path)} in ${stringify(haystack)}`;
165
+ msg = `Expected:\n${chalk.green(stringify(needle[path]))}\nbut found:\n${chalk.red(stringify(actual))}\nat:\n${stringify(path)}\nin:\n${stringify(haystack)}`;
166
166
  }
167
167
  if (typeof expected === 'string' &&
168
168
  typeof actual === 'string' &&
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "5.1.546",
6
+ "version": "5.1.548",
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.566",
63
+ "@sprucelabs/error": "^6.0.568",
64
64
  "deep-equal": "^2.2.3",
65
65
  "just-clone": "^6.2.0",
66
66
  "lodash": "^4.17.21",
@@ -68,17 +68,17 @@
68
68
  "variable-diff": "^2.0.2"
69
69
  },
70
70
  "devDependencies": {
71
- "@sprucelabs/esm-postbuild": "^6.0.540",
72
- "@sprucelabs/jest-json-reporter": "^8.0.567",
71
+ "@sprucelabs/esm-postbuild": "^6.0.541",
72
+ "@sprucelabs/jest-json-reporter": "^8.0.568",
73
73
  "@sprucelabs/jest-sheets-reporter": "^2.0.20",
74
74
  "@sprucelabs/semantic-release": "^5.0.2",
75
- "@sprucelabs/test": "^9.0.67",
75
+ "@sprucelabs/test": "^9.0.68",
76
76
  "@types/deep-equal": "^1.0.4",
77
77
  "@types/jest": "^29.5.14",
78
- "@types/lodash": "^4.17.14",
79
- "@types/node": "^22.10.7",
78
+ "@types/lodash": "^4.17.15",
79
+ "@types/node": "^22.12.0",
80
80
  "chokidar-cli": "^3.0.0",
81
- "eslint": "^9.18.0",
81
+ "eslint": "^9.19.0",
82
82
  "eslint-config-spruce": "^11.2.26",
83
83
  "jest": "^29.7.0",
84
84
  "jest-circus": "^29.7.0",