@@ -696,70 +696,70 @@ describe('Application Schematic', () => {
696696 ) ;
697697 } ) ;
698698
699- it ( 'should add provideExperimentalZonelessChangeDetection () in app.module.ts when experimentalZoneless is true' , async ( ) => {
699+ it ( 'should add provideZonelessChangeDetection () in app.module.ts when zoneless is true' , async ( ) => {
700700 const tree = await schematicRunner . runSchematic (
701701 'application' ,
702702 {
703703 ...defaultOptions ,
704- experimentalZoneless : true ,
704+ zoneless : true ,
705705 standalone : false ,
706706 } ,
707707 workspaceTree ,
708708 ) ;
709709 const path = '/projects/foo/src/app/app.module.ts' ;
710710 const fileContent = tree . readContent ( path ) ;
711- expect ( fileContent ) . toContain ( 'provideExperimentalZonelessChangeDetection ()' ) ;
711+ expect ( fileContent ) . toContain ( 'provideZonelessChangeDetection ()' ) ;
712712 } ) ;
713713
714- it ( 'should not add provideExperimentalZonelessChangeDetection () in app.module.ts when experimentalZoneless is false' , async ( ) => {
714+ it ( 'should not add provideZonelessChangeDetection () in app.module.ts when zoneless is false' , async ( ) => {
715715 const tree = await schematicRunner . runSchematic (
716716 'application' ,
717717 {
718718 ...defaultOptions ,
719- experimentalZoneless : false ,
719+ zoneless : false ,
720720 standalone : false ,
721721 } ,
722722 workspaceTree ,
723723 ) ;
724724 const path = '/projects/foo/src/app/app.module.ts' ;
725725 const fileContent = tree . readContent ( path ) ;
726- expect ( fileContent ) . not . toContain ( 'provideExperimentalZonelessChangeDetection ()' ) ;
726+ expect ( fileContent ) . not . toContain ( 'provideZonelessChangeDetection ()' ) ;
727727 } ) ;
728728
729- it ( 'should add provideExperimentalZonelessChangeDetection () when experimentalZoneless is true' , async ( ) => {
729+ it ( 'should add provideZonelessChangeDetection () when zoneless is true' , async ( ) => {
730730 const tree = await schematicRunner . runSchematic (
731731 'application' ,
732732 {
733733 ...defaultOptions ,
734- experimentalZoneless : true ,
734+ zoneless : true ,
735735 } ,
736736 workspaceTree ,
737737 ) ;
738738 const path = '/projects/foo/src/app/app.config.ts' ;
739739 const fileContent = tree . readContent ( path ) ;
740- expect ( fileContent ) . toContain ( 'provideExperimentalZonelessChangeDetection ()' ) ;
740+ expect ( fileContent ) . toContain ( 'provideZonelessChangeDetection ()' ) ;
741741 } ) ;
742742
743- it ( 'should not add provideExperimentalZonelessChangeDetection () when experimentalZoneless is false' , async ( ) => {
743+ it ( 'should not add provideZonelessChangeDetection () when zoneless is false' , async ( ) => {
744744 const tree = await schematicRunner . runSchematic (
745745 'application' ,
746746 {
747747 ...defaultOptions ,
748- experimentalZoneless : false ,
748+ zoneless : false ,
749749 } ,
750750 workspaceTree ,
751751 ) ;
752752 const path = '/projects/foo/src/app/app.config.ts' ;
753753 const fileContent = tree . readContent ( path ) ;
754- expect ( fileContent ) . not . toContain ( 'provideExperimentalZonelessChangeDetection ()' ) ;
754+ expect ( fileContent ) . not . toContain ( 'provideZonelessChangeDetection ()' ) ;
755755 } ) ;
756756
757- it ( 'should not add provideZoneChangeDetection when experimentalZoneless is true' , async ( ) => {
757+ it ( 'should not add provideZoneChangeDetection when zoneless is true' , async ( ) => {
758758 const tree = await schematicRunner . runSchematic (
759759 'application' ,
760760 {
761761 ...defaultOptions ,
762- experimentalZoneless : true ,
762+ zoneless : true ,
763763 } ,
764764 workspaceTree ,
765765 ) ;
0 commit comments