MCPcopy
hub / github.com/jestjs/jest / minify

Function minify

packages/jest-snapshot/src/utils.ts:74–80  ·  view source on GitHub ↗
(val: unknown)

Source from the content-addressed store, hash-verified

72 );
73
74export const minify = (val: unknown): string =>
75 prettyFormat(val, {
76 escapeRegex,
77 min: true,
78 plugins: getSerializers(),
79 printFunctionName,
80 });
81
82// Remove double quote marks and unescape double quotes and backslashes.
83export const deserializeString = (stringified: string): string =>

Callers 2

printExpectedFunction · 0.90
printReceivedFunction · 0.90

Calls 1

getSerializersFunction · 0.90

Tested by

no test coverage detected