test(ivy): update `ngI18nClosureMode` flag usage in tests (#34224)
Commit that updated i18n message ids rendering (e524322c43
) also introduced a couple tests that relied on a previous version of `ngI18nClosureMode` flag format. The `ngI18nClosureMode` usage format was changed in the followup commit (c4ce24647b
) and triggered a problem with the mentioned tests. This commit updates the tests to a new `ngI18nClosureMode` flag usage format. PR Close #34224
This commit is contained in:
parent
5e94f9a100
commit
634887c0e7
|
@ -3463,7 +3463,7 @@ describe('i18n support in the template compiler', () => {
|
|||
|
||||
const output = String.raw `
|
||||
var $I18N_0$;
|
||||
if (ngI18nClosureMode) { … }
|
||||
if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) { … }
|
||||
else {
|
||||
$I18N_0$ = $localize \`:␟ec93160d6d6a8822214060dd7938bf821c22b226␟6795333002533525253:Some Message\`;
|
||||
}
|
||||
|
@ -3478,7 +3478,7 @@ describe('i18n support in the template compiler', () => {
|
|||
|
||||
const output = String.raw `
|
||||
var $I18N_0$;
|
||||
if (ngI18nClosureMode) { … }
|
||||
if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) { … }
|
||||
else {
|
||||
$I18N_0$ = $localize \`:␟ec93160d6d6a8822214060dd7938bf821c22b226␟6795333002533525253:Some Message\`;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue