@vitest/pretty-format
Advanced tools
+1
-1
@@ -237,3 +237,3 @@ import styles from 'tinyrainbow'; | ||
| // hidden injected value that should not be printed | ||
| if (typeof value === "string" && value[0] === "_" && value.startsWith("__vitest_") && value.match(/__vitest_\d+__/)) { | ||
| if (typeof value === "string" && value[0] === "_" && value.startsWith("__vitest_") && /__vitest_\d+__/.test(value)) { | ||
| return ""; | ||
@@ -240,0 +240,0 @@ } |
+1
-1
| { | ||
| "name": "@vitest/pretty-format", | ||
| "type": "module", | ||
| "version": "5.0.0-beta.5", | ||
| "version": "5.0.0-beta.6", | ||
| "description": "Fork of pretty-format with support for ESM", | ||
@@ -6,0 +6,0 @@ "license": "MIT", |
52753
0