@sprucelabs/test-utils 5.1.545 → 5.1.547

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.545",
6
+ "version": "5.1.547",
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.564",
63
+ "@sprucelabs/error": "^6.0.566",
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.539",
72
- "@sprucelabs/jest-json-reporter": "^8.0.566",
71
+ "@sprucelabs/esm-postbuild": "^6.0.540",
72
+ "@sprucelabs/jest-json-reporter": "^8.0.567",
73
73
  "@sprucelabs/jest-sheets-reporter": "^2.0.20",
74
74
  "@sprucelabs/semantic-release": "^5.0.2",
75
75
  "@sprucelabs/test": "^9.0.67",