test(ivy): add i18n integration tests via TestBed (#27852)

PR Close #27852
This commit is contained in:
Andrew Kushnir
2018-12-26 17:36:26 -08:00
committed by Kara Erickson
parent ac5f5ed0a6
commit 4613864fc8
4 changed files with 493 additions and 14 deletions

View File

@ -504,7 +504,7 @@ function appendI18nNode(tNode: TNode, parentTNode: TNode, previousTNode: TNode |
* @publicAPI
*/
export function i18nPostprocess(
message: string, replacements: {[key: string]: (string | string[])}): string {
message: string, replacements: {[key: string]: (string | string[])} = {}): string {
//
// Step 1: resolve all multi-value cases (like [<5B>*1:1<><31>#2:1<>|<7C>#4:1<>|<7C>5<EFBFBD>])
//