MCPcopy Create free account
hub / github.com/getsentry/sentry-javascript / serialize

Function serialize

packages/angular/patch-vitest.ts:105–108  ·  view source on GitHub ↗
(val: any, config: any, indentation: any, depth: any, refs: any, printer: any)

Source from the content-addressed store, hash-verified

103 */
104const customSnapshotSerializer = () => {
105 function serialize(val: any, config: any, indentation: any, depth: any, refs: any, printer: any): string {
106 // `printer` is a function that serializes a value using existing plugins.
107 return `${printer(fixtureVitestSerializer(val), config, indentation, depth, refs)}`;
108 }
109 function test(val: any): boolean {
110 // * If it's a ComponentFixture we apply the transformation rules
111 return val && isAngularFixture(val);

Callers

nothing calls this directly

Calls 1

fixtureVitestSerializerFunction · 0.85

Tested by

no test coverage detected