@@ -34,8 +34,8 @@ export default async function () {
3434 await expectFileToMatch ( `${ outputPath } /main-es2015.js` , lang ) ;
3535
3636 // 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');
3939
4040 const server = externalServer ( outputPath ) ;
4141 try {
@@ -47,9 +47,9 @@ export default async function () {
4747 }
4848
4949 // 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('));
5353
5454 // Verify missing translation behaviour.
5555 await appendToFile ( 'src/app/app.component.html' , '<p i18n>Other content</p>' ) ;
0 commit comments