@@ -729,70 +729,70 @@ describe('Application Schematic', () => {
729729 ) ;
730730 } ) ;
731731
732- it ( 'should add provideExperimentalZonelessChangeDetection () in app-module.ts when experimentalZoneless is true' , async ( ) => {
732+ it ( 'should add provideZonelessChangeDetection () in app-module.ts when zoneless is true' , async ( ) => {
733733 const tree = await schematicRunner . runSchematic (
734734 'application' ,
735735 {
736736 ...defaultOptions ,
737- experimentalZoneless : true ,
737+ zoneless : true ,
738738 standalone : false ,
739739 } ,
740740 workspaceTree ,
741741 ) ;
742742 const path = '/projects/foo/src/app/app-module.ts' ;
743743 const fileContent = tree . readContent ( path ) ;
744- expect ( fileContent ) . toContain ( 'provideExperimentalZonelessChangeDetection ()' ) ;
744+ expect ( fileContent ) . toContain ( 'provideZonelessChangeDetection ()' ) ;
745745 } ) ;
746746
747- it ( 'should not add provideExperimentalZonelessChangeDetection () in app-module.ts when experimentalZoneless is false' , async ( ) => {
747+ it ( 'should not add provideZonelessChangeDetection () in app-module.ts when zoneless is false' , async ( ) => {
748748 const tree = await schematicRunner . runSchematic (
749749 'application' ,
750750 {
751751 ...defaultOptions ,
752- experimentalZoneless : false ,
752+ zoneless : false ,
753753 standalone : false ,
754754 } ,
755755 workspaceTree ,
756756 ) ;
757757 const path = '/projects/foo/src/app/app-module.ts' ;
758758 const fileContent = tree . readContent ( path ) ;
759- expect ( fileContent ) . not . toContain ( 'provideExperimentalZonelessChangeDetection ()' ) ;
759+ expect ( fileContent ) . not . toContain ( 'provideZonelessChangeDetection ()' ) ;
760760 } ) ;
761761
762- it ( 'should add provideExperimentalZonelessChangeDetection () when experimentalZoneless is true' , async ( ) => {
762+ it ( 'should add provideZonelessChangeDetection () when zoneless is true' , async ( ) => {
763763 const tree = await schematicRunner . runSchematic (
764764 'application' ,
765765 {
766766 ...defaultOptions ,
767- experimentalZoneless : true ,
767+ zoneless : true ,
768768 } ,
769769 workspaceTree ,
770770 ) ;
771771 const path = '/projects/foo/src/app/app.config.ts' ;
772772 const fileContent = tree . readContent ( path ) ;
773- expect ( fileContent ) . toContain ( 'provideExperimentalZonelessChangeDetection ()' ) ;
773+ expect ( fileContent ) . toContain ( 'provideZonelessChangeDetection ()' ) ;
774774 } ) ;
775775
776- it ( 'should not add provideExperimentalZonelessChangeDetection () when experimentalZoneless is false' , async ( ) => {
776+ it ( 'should not add provideZonelessChangeDetection () when zoneless is false' , async ( ) => {
777777 const tree = await schematicRunner . runSchematic (
778778 'application' ,
779779 {
780780 ...defaultOptions ,
781- experimentalZoneless : false ,
781+ zoneless : false ,
782782 } ,
783783 workspaceTree ,
784784 ) ;
785785 const path = '/projects/foo/src/app/app.config.ts' ;
786786 const fileContent = tree . readContent ( path ) ;
787- expect ( fileContent ) . not . toContain ( 'provideExperimentalZonelessChangeDetection ()' ) ;
787+ expect ( fileContent ) . not . toContain ( 'provideZonelessChangeDetection ()' ) ;
788788 } ) ;
789789
790- it ( 'should not add provideZoneChangeDetection when experimentalZoneless is true' , async ( ) => {
790+ it ( 'should not add provideZoneChangeDetection when zoneless is true' , async ( ) => {
791791 const tree = await schematicRunner . runSchematic (
792792 'application' ,
793793 {
794794 ...defaultOptions ,
795- experimentalZoneless : true ,
795+ zoneless : true ,
796796 } ,
797797 workspaceTree ,
798798 ) ;
0 commit comments