@@ -696,70 +696,70 @@ describe('Application Schematic', () => {
696
696
) ;
697
697
} ) ;
698
698
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 ( ) => {
700
700
const tree = await schematicRunner . runSchematic (
701
701
'application' ,
702
702
{
703
703
...defaultOptions ,
704
- experimentalZoneless : true ,
704
+ zoneless : true ,
705
705
standalone : false ,
706
706
} ,
707
707
workspaceTree ,
708
708
) ;
709
709
const path = '/projects/foo/src/app/app.module.ts' ;
710
710
const fileContent = tree . readContent ( path ) ;
711
- expect ( fileContent ) . toContain ( 'provideExperimentalZonelessChangeDetection ()' ) ;
711
+ expect ( fileContent ) . toContain ( 'provideZonelessChangeDetection ()' ) ;
712
712
} ) ;
713
713
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 ( ) => {
715
715
const tree = await schematicRunner . runSchematic (
716
716
'application' ,
717
717
{
718
718
...defaultOptions ,
719
- experimentalZoneless : false ,
719
+ zoneless : false ,
720
720
standalone : false ,
721
721
} ,
722
722
workspaceTree ,
723
723
) ;
724
724
const path = '/projects/foo/src/app/app.module.ts' ;
725
725
const fileContent = tree . readContent ( path ) ;
726
- expect ( fileContent ) . not . toContain ( 'provideExperimentalZonelessChangeDetection ()' ) ;
726
+ expect ( fileContent ) . not . toContain ( 'provideZonelessChangeDetection ()' ) ;
727
727
} ) ;
728
728
729
- it ( 'should add provideExperimentalZonelessChangeDetection () when experimentalZoneless is true' , async ( ) => {
729
+ it ( 'should add provideZonelessChangeDetection () when zoneless is true' , async ( ) => {
730
730
const tree = await schematicRunner . runSchematic (
731
731
'application' ,
732
732
{
733
733
...defaultOptions ,
734
- experimentalZoneless : true ,
734
+ zoneless : true ,
735
735
} ,
736
736
workspaceTree ,
737
737
) ;
738
738
const path = '/projects/foo/src/app/app.config.ts' ;
739
739
const fileContent = tree . readContent ( path ) ;
740
- expect ( fileContent ) . toContain ( 'provideExperimentalZonelessChangeDetection ()' ) ;
740
+ expect ( fileContent ) . toContain ( 'provideZonelessChangeDetection ()' ) ;
741
741
} ) ;
742
742
743
- it ( 'should not add provideExperimentalZonelessChangeDetection () when experimentalZoneless is false' , async ( ) => {
743
+ it ( 'should not add provideZonelessChangeDetection () when zoneless is false' , async ( ) => {
744
744
const tree = await schematicRunner . runSchematic (
745
745
'application' ,
746
746
{
747
747
...defaultOptions ,
748
- experimentalZoneless : false ,
748
+ zoneless : false ,
749
749
} ,
750
750
workspaceTree ,
751
751
) ;
752
752
const path = '/projects/foo/src/app/app.config.ts' ;
753
753
const fileContent = tree . readContent ( path ) ;
754
- expect ( fileContent ) . not . toContain ( 'provideExperimentalZonelessChangeDetection ()' ) ;
754
+ expect ( fileContent ) . not . toContain ( 'provideZonelessChangeDetection ()' ) ;
755
755
} ) ;
756
756
757
- it ( 'should not add provideZoneChangeDetection when experimentalZoneless is true' , async ( ) => {
757
+ it ( 'should not add provideZoneChangeDetection when zoneless is true' , async ( ) => {
758
758
const tree = await schematicRunner . runSchematic (
759
759
'application' ,
760
760
{
761
761
...defaultOptions ,
762
- experimentalZoneless : true ,
762
+ zoneless : true ,
763
763
} ,
764
764
workspaceTree ,
765
765
) ;
0 commit comments