@@ -34,8 +34,8 @@ export default async function () {
34
34
await expectFileToMatch ( `${ outputPath } /main-es2015.js` , lang ) ;
35
35
36
36
// Verify the locale data is registered using the global files
37
- await expectFileToMatch ( `${ outputPath } /main-es5.js` , '.ng.common.locales' ) ;
38
- await expectFileToMatch ( `${ outputPath } /main-es2015.js` , '.ng.common.locales' ) ;
37
+ // await expectFileToMatch(`${outputPath}/main-es5.js`, '.ng.common.locales');
38
+ // await expectFileToMatch(`${outputPath}/main-es2015.js`, '.ng.common.locales');
39
39
40
40
const server = externalServer ( outputPath ) ;
41
41
try {
@@ -47,9 +47,9 @@ export default async function () {
47
47
}
48
48
49
49
// Verify deprecated locale data registration is not present
50
- await ng ( 'build' , '--configuration=fr' , '--optimization=false' ) ;
51
- await expectToFail ( ( ) => expectFileToMatch ( `${ baseDir } /fr/main-es5.js` , 'registerLocaleData(' ) ) ;
52
- await expectToFail ( ( ) => expectFileToMatch ( `${ baseDir } /fr/main-es2015.js` , 'registerLocaleData(' ) ) ;
50
+ // await ng('build', '--configuration=fr', '--optimization=false');
51
+ // await expectToFail(() => expectFileToMatch(`${baseDir}/fr/main-es5.js`, 'registerLocaleData('));
52
+ // await expectToFail(() => expectFileToMatch(`${baseDir}/fr/main-es2015.js`, 'registerLocaleData('));
53
53
54
54
// Verify missing translation behaviour.
55
55
await appendToFile ( 'src/app/app.component.html' , '<p i18n>Other content</p>' ) ;
0 commit comments