File tree Expand file tree Collapse file tree 1 file changed +0
-24
lines changed Expand file tree Collapse file tree 1 file changed +0
-24
lines changed Original file line number Diff line number Diff line change @@ -799,30 +799,6 @@ describe('Schema Builder', () => {
799
799
` ) ;
800
800
801
801
expect ( printAllASTNodes ( someScalar ) ) . to . equal ( scalarSDL ) ;
802
- expect ( rootFields . field2 . isDeprecated ) . to . equal ( true ) ;
803
- expect ( rootFields . field2 . deprecationReason ) . to . equal ( 'Because I said so' ) ;
804
-
805
- const field3OldArg = rootFields . field3 . args [ 0 ] ;
806
- expect ( field3OldArg . isDeprecated ) . to . equal ( true ) ;
807
- expect ( field3OldArg . deprecationReason ) . to . equal ( 'No longer supported' ) ;
808
-
809
- const field4OldArg = rootFields . field4 . args [ 0 ] ;
810
- expect ( field4OldArg . isDeprecated ) . to . equal ( true ) ;
811
- expect ( field4OldArg . deprecationReason ) . to . equal ( 'why not?' ) ;
812
-
813
- const myInput = schema . getType ( 'MyInput' ) ;
814
- const inputFields = myInput . getFields ( ) ;
815
-
816
- const newInput = inputFields . newInput ;
817
- expect ( newInput . isDeprecated ) . to . equal ( false ) ;
818
-
819
- const oldInput = inputFields . oldInput ;
820
- expect ( oldInput . isDeprecated ) . to . equal ( true ) ;
821
- expect ( oldInput . deprecationReason ) . to . equal ( 'No longer supported' ) ;
822
-
823
- const otherInput = inputFields . otherInput ;
824
- expect ( otherInput . isDeprecated ) . to . equal ( true ) ;
825
- expect ( otherInput . deprecationReason ) . to . equal ( 'Use newInput' ) ;
826
802
} ) ;
827
803
828
804
it ( 'Correctly extend object type' , ( ) => {
You can’t perform that action at this time.
0 commit comments