@@ -729,70 +729,70 @@ describe('Application Schematic', () => {
729
729
) ;
730
730
} ) ;
731
731
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 ( ) => {
733
733
const tree = await schematicRunner . runSchematic (
734
734
'application' ,
735
735
{
736
736
...defaultOptions ,
737
- experimentalZoneless : true ,
737
+ zoneless : true ,
738
738
standalone : false ,
739
739
} ,
740
740
workspaceTree ,
741
741
) ;
742
742
const path = '/projects/foo/src/app/app-module.ts' ;
743
743
const fileContent = tree . readContent ( path ) ;
744
- expect ( fileContent ) . toContain ( 'provideExperimentalZonelessChangeDetection ()' ) ;
744
+ expect ( fileContent ) . toContain ( 'provideZonelessChangeDetection ()' ) ;
745
745
} ) ;
746
746
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 ( ) => {
748
748
const tree = await schematicRunner . runSchematic (
749
749
'application' ,
750
750
{
751
751
...defaultOptions ,
752
- experimentalZoneless : false ,
752
+ zoneless : false ,
753
753
standalone : false ,
754
754
} ,
755
755
workspaceTree ,
756
756
) ;
757
757
const path = '/projects/foo/src/app/app-module.ts' ;
758
758
const fileContent = tree . readContent ( path ) ;
759
- expect ( fileContent ) . not . toContain ( 'provideExperimentalZonelessChangeDetection ()' ) ;
759
+ expect ( fileContent ) . not . toContain ( 'provideZonelessChangeDetection ()' ) ;
760
760
} ) ;
761
761
762
- it ( 'should add provideExperimentalZonelessChangeDetection () when experimentalZoneless is true' , async ( ) => {
762
+ it ( 'should add provideZonelessChangeDetection () when zoneless is true' , async ( ) => {
763
763
const tree = await schematicRunner . runSchematic (
764
764
'application' ,
765
765
{
766
766
...defaultOptions ,
767
- experimentalZoneless : true ,
767
+ zoneless : true ,
768
768
} ,
769
769
workspaceTree ,
770
770
) ;
771
771
const path = '/projects/foo/src/app/app.config.ts' ;
772
772
const fileContent = tree . readContent ( path ) ;
773
- expect ( fileContent ) . toContain ( 'provideExperimentalZonelessChangeDetection ()' ) ;
773
+ expect ( fileContent ) . toContain ( 'provideZonelessChangeDetection ()' ) ;
774
774
} ) ;
775
775
776
- it ( 'should not add provideExperimentalZonelessChangeDetection () when experimentalZoneless is false' , async ( ) => {
776
+ it ( 'should not add provideZonelessChangeDetection () when zoneless is false' , async ( ) => {
777
777
const tree = await schematicRunner . runSchematic (
778
778
'application' ,
779
779
{
780
780
...defaultOptions ,
781
- experimentalZoneless : false ,
781
+ zoneless : false ,
782
782
} ,
783
783
workspaceTree ,
784
784
) ;
785
785
const path = '/projects/foo/src/app/app.config.ts' ;
786
786
const fileContent = tree . readContent ( path ) ;
787
- expect ( fileContent ) . not . toContain ( 'provideExperimentalZonelessChangeDetection ()' ) ;
787
+ expect ( fileContent ) . not . toContain ( 'provideZonelessChangeDetection ()' ) ;
788
788
} ) ;
789
789
790
- it ( 'should not add provideZoneChangeDetection when experimentalZoneless is true' , async ( ) => {
790
+ it ( 'should not add provideZoneChangeDetection when zoneless is true' , async ( ) => {
791
791
const tree = await schematicRunner . runSchematic (
792
792
'application' ,
793
793
{
794
794
...defaultOptions ,
795
- experimentalZoneless : true ,
795
+ zoneless : true ,
796
796
} ,
797
797
workspaceTree ,
798
798
) ;
0 commit comments