test(common): skip some DatePipe tests in old Chrome where Intl is buggy (#15784)
This commit is contained in:
parent
5cc9913ded
commit
4d117faf1a
|
@ -124,9 +124,12 @@ export function main() {
|
||||||
expectDateFormatAs(date, pattern, dateFixtures[pattern]);
|
expectDateFormatAs(date, pattern, dateFixtures[pattern]);
|
||||||
});
|
});
|
||||||
|
|
||||||
Object.keys(isoStringWithoutTimeFixtures).forEach((pattern: string) => {
|
if (!browserDetection.isOldChrome) {
|
||||||
expectDateFormatAs(isoStringWithoutTime, pattern, isoStringWithoutTimeFixtures[pattern]);
|
Object.keys(isoStringWithoutTimeFixtures).forEach((pattern: string) => {
|
||||||
});
|
expectDateFormatAs(
|
||||||
|
isoStringWithoutTime, pattern, isoStringWithoutTimeFixtures[pattern]);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
expect(pipe.transform(date, 'Z')).toBeDefined();
|
expect(pipe.transform(date, 'Z')).toBeDefined();
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue