MCPcopy Create free account
hub / github.com/angular/angular / getName

Function getName

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

Source from the content-addressed store, hash-verified

180 parts`abc${1 + 2 + 3}def${4 + 5 + 6}`,
181 );
182 const getName = () => 'World';
183 expect(doTranslate(translations, parts`Hello, ${getName()}!`)).toEqual(
184 parts`Hello, ${'World'}!`,
185 );

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected