MCPcopy Create free account
hub / github.com/NativeScript/NativeScript / pretty

Function pretty

apps/automated/src/ui/animation/animation-tests.ts:416–418  ·  view source on GitHub ↗
(val)

Source from the content-addressed store, hash-verified

414
415function animateExtentAndAssertExpected(along: 'height' | 'width', value: CoreTypes.PercentLengthType, pixelExpected: CoreTypes.PercentLengthType): Promise<void> {
416 function pretty(val) {
417 return JSON.stringify(val, null, 2);
418 }
419 const parentExtent = 200;
420 const height = along === 'height' ? parentExtent : undefined;
421 const width = along === 'height' ? undefined : parentExtent;

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected