MCPcopy Index your code
hub / github.com/angular/angular / getName

Function getName

packages/localize/src/utils/test/translations_spec.ts:156–156  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

154 parts`abc${1 + 2 + 3}def${4 + 5 + 6}`,
155 );
156 const getName = () => 'World';
157 expect(doTranslate(translations, parts`Hello, ${getName()}!`)).toEqual(
158 parts`Hello, ${'World'}!`,
159 );

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…