Skip to content

Commit 0f4e38f

Browse files
rahulbhooteshwarclydin
authored andcommitted
feat(@ngtools/webpack): prevent build failure in case of custom locale, fixed test case
1 parent b6812f7 commit 0f4e38f

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

tests/e2e/tests/i18n/build-locale.ts

-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { ng } from '../../utils/process';
22
import { expectFileToMatch, rimraf } from '../../utils/fs';
33
import { getGlobalVariable } from '../../utils/env';
4-
import { expectToFail } from '../../utils/utils';
54

65

76
export default function () {
@@ -21,5 +20,4 @@ export default function () {
2120
.then(() => expectFileToMatch('dist/main.js', /registerLocaleData/))
2221
.then(() => expectFileToMatch('dist/main.js', /angular_common_locales_fr/))
2322
.then(() => rimraf('dist'))
24-
.then(() => expectToFail(() => ng('build', '--aot', '--locale=no-locale')));
2523
}

0 commit comments

Comments
 (0)