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

Function getText

docs/src/app/pages/component-viewer/component-styling.spec.ts:63–65  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

61
62 describe('styling', () => {
63 function getText() {
64 return (harness.routeNativeElement!.textContent ?? '').replace(/\s+/g, ' ');
65 }
66
67 it('should show the token overrides for the doc item', async () => {
68 await navigate('/components/button/styling');

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected