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

Function getName

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

Source from the content-addressed store, hash-verified

165 parts`abc${1 + 2 + 3}def${4 + 5 + 6}`,
166 );
167 const getName = () => 'World';
168 expect(doTranslate(translations, parts`Hello, ${getName()}!`)).toEqual(
169 parts`Hello, ${'World'}!`,
170 );

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected