@sprucelabs/test-utils 5.1.546 → 5.1.547

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.
@@ -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.547",
7
7
  "files": [
8
8
  "build"
9
9
  ],