@@ -745,70 +745,70 @@ describe('Application Schematic', () => {
745745 ) ;
746746 } ) ;
747747
748- it ( 'should add provideExperimentalZonelessChangeDetection () in app-module.ts when experimentalZoneless is true' , async ( ) => {
748+ it ( 'should add provideZonelessChangeDetection () in app-module.ts when zoneless is true' , async ( ) => {
749749 const tree = await schematicRunner . runSchematic (
750750 'application' ,
751751 {
752752 ...defaultOptions ,
753- experimentalZoneless : true ,
753+ zoneless : true ,
754754 standalone : false ,
755755 } ,
756756 workspaceTree ,
757757 ) ;
758758 const path = '/projects/foo/src/app/app-module.ts' ;
759759 const fileContent = tree . readContent ( path ) ;
760- expect ( fileContent ) . toContain ( 'provideExperimentalZonelessChangeDetection ()' ) ;
760+ expect ( fileContent ) . toContain ( 'provideZonelessChangeDetection ()' ) ;
761761 } ) ;
762762
763- it ( 'should not add provideExperimentalZonelessChangeDetection () in app-module.ts when experimentalZoneless is false' , async ( ) => {
763+ it ( 'should not add provideZonelessChangeDetection () in app-module.ts when zoneless is false' , async ( ) => {
764764 const tree = await schematicRunner . runSchematic (
765765 'application' ,
766766 {
767767 ...defaultOptions ,
768- experimentalZoneless : false ,
768+ zoneless : false ,
769769 standalone : false ,
770770 } ,
771771 workspaceTree ,
772772 ) ;
773773 const path = '/projects/foo/src/app/app-module.ts' ;
774774 const fileContent = tree . readContent ( path ) ;
775- expect ( fileContent ) . not . toContain ( 'provideExperimentalZonelessChangeDetection ()' ) ;
775+ expect ( fileContent ) . not . toContain ( 'provideZonelessChangeDetection ()' ) ;
776776 } ) ;
777777
778- it ( 'should add provideExperimentalZonelessChangeDetection () when experimentalZoneless is true' , async ( ) => {
778+ it ( 'should add provideZonelessChangeDetection () when zoneless is true' , async ( ) => {
779779 const tree = await schematicRunner . runSchematic (
780780 'application' ,
781781 {
782782 ...defaultOptions ,
783- experimentalZoneless : true ,
783+ zoneless : true ,
784784 } ,
785785 workspaceTree ,
786786 ) ;
787787 const path = '/projects/foo/src/app/app.config.ts' ;
788788 const fileContent = tree . readContent ( path ) ;
789- expect ( fileContent ) . toContain ( 'provideExperimentalZonelessChangeDetection ()' ) ;
789+ expect ( fileContent ) . toContain ( 'provideZonelessChangeDetection ()' ) ;
790790 } ) ;
791791
792- it ( 'should not add provideExperimentalZonelessChangeDetection () when experimentalZoneless is false' , async ( ) => {
792+ it ( 'should not add provideZonelessChangeDetection () when zoneless is false' , async ( ) => {
793793 const tree = await schematicRunner . runSchematic (
794794 'application' ,
795795 {
796796 ...defaultOptions ,
797- experimentalZoneless : false ,
797+ zoneless : false ,
798798 } ,
799799 workspaceTree ,
800800 ) ;
801801 const path = '/projects/foo/src/app/app.config.ts' ;
802802 const fileContent = tree . readContent ( path ) ;
803- expect ( fileContent ) . not . toContain ( 'provideExperimentalZonelessChangeDetection ()' ) ;
803+ expect ( fileContent ) . not . toContain ( 'provideZonelessChangeDetection ()' ) ;
804804 } ) ;
805805
806- it ( 'should not add provideZoneChangeDetection when experimentalZoneless is true' , async ( ) => {
806+ it ( 'should not add provideZoneChangeDetection when zoneless is true' , async ( ) => {
807807 const tree = await schematicRunner . runSchematic (
808808 'application' ,
809809 {
810810 ...defaultOptions ,
811- experimentalZoneless : true ,
811+ zoneless : true ,
812812 } ,
813813 workspaceTree ,
814814 ) ;
0 commit comments