@@ -745,70 +745,70 @@ describe('Application Schematic', () => {
745
745
) ;
746
746
} ) ;
747
747
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 ( ) => {
749
749
const tree = await schematicRunner . runSchematic (
750
750
'application' ,
751
751
{
752
752
...defaultOptions ,
753
- experimentalZoneless : true ,
753
+ zoneless : true ,
754
754
standalone : false ,
755
755
} ,
756
756
workspaceTree ,
757
757
) ;
758
758
const path = '/projects/foo/src/app/app-module.ts' ;
759
759
const fileContent = tree . readContent ( path ) ;
760
- expect ( fileContent ) . toContain ( 'provideExperimentalZonelessChangeDetection ()' ) ;
760
+ expect ( fileContent ) . toContain ( 'provideZonelessChangeDetection ()' ) ;
761
761
} ) ;
762
762
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 ( ) => {
764
764
const tree = await schematicRunner . runSchematic (
765
765
'application' ,
766
766
{
767
767
...defaultOptions ,
768
- experimentalZoneless : false ,
768
+ zoneless : false ,
769
769
standalone : false ,
770
770
} ,
771
771
workspaceTree ,
772
772
) ;
773
773
const path = '/projects/foo/src/app/app-module.ts' ;
774
774
const fileContent = tree . readContent ( path ) ;
775
- expect ( fileContent ) . not . toContain ( 'provideExperimentalZonelessChangeDetection ()' ) ;
775
+ expect ( fileContent ) . not . toContain ( 'provideZonelessChangeDetection ()' ) ;
776
776
} ) ;
777
777
778
- it ( 'should add provideExperimentalZonelessChangeDetection () when experimentalZoneless is true' , async ( ) => {
778
+ it ( 'should add provideZonelessChangeDetection () when zoneless is true' , async ( ) => {
779
779
const tree = await schematicRunner . runSchematic (
780
780
'application' ,
781
781
{
782
782
...defaultOptions ,
783
- experimentalZoneless : true ,
783
+ zoneless : true ,
784
784
} ,
785
785
workspaceTree ,
786
786
) ;
787
787
const path = '/projects/foo/src/app/app.config.ts' ;
788
788
const fileContent = tree . readContent ( path ) ;
789
- expect ( fileContent ) . toContain ( 'provideExperimentalZonelessChangeDetection ()' ) ;
789
+ expect ( fileContent ) . toContain ( 'provideZonelessChangeDetection ()' ) ;
790
790
} ) ;
791
791
792
- it ( 'should not add provideExperimentalZonelessChangeDetection () when experimentalZoneless is false' , async ( ) => {
792
+ it ( 'should not add provideZonelessChangeDetection () when zoneless is false' , async ( ) => {
793
793
const tree = await schematicRunner . runSchematic (
794
794
'application' ,
795
795
{
796
796
...defaultOptions ,
797
- experimentalZoneless : false ,
797
+ zoneless : false ,
798
798
} ,
799
799
workspaceTree ,
800
800
) ;
801
801
const path = '/projects/foo/src/app/app.config.ts' ;
802
802
const fileContent = tree . readContent ( path ) ;
803
- expect ( fileContent ) . not . toContain ( 'provideExperimentalZonelessChangeDetection ()' ) ;
803
+ expect ( fileContent ) . not . toContain ( 'provideZonelessChangeDetection ()' ) ;
804
804
} ) ;
805
805
806
- it ( 'should not add provideZoneChangeDetection when experimentalZoneless is true' , async ( ) => {
806
+ it ( 'should not add provideZoneChangeDetection when zoneless is true' , async ( ) => {
807
807
const tree = await schematicRunner . runSchematic (
808
808
'application' ,
809
809
{
810
810
...defaultOptions ,
811
- experimentalZoneless : true ,
811
+ zoneless : true ,
812
812
} ,
813
813
workspaceTree ,
814
814
) ;
0 commit comments