MCPcopy Create free account
hub / github.com/angular/components / getBufferValue

Function getBufferValue

src/material/progress-bar/progress-bar.spec.ts:96–96  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

94 // Parse out and round the value since different
95 // browsers return the value with a different precision.
96 const getBufferValue = () => Math.floor(parseInt(bufferStyles.flexBasis));
97
98 expect(primaryStyles.transform).toBe('scaleX(0)');
99 expect(getBufferValue()).toBe(100);

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected