File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -726,7 +726,7 @@ describe('Parser', () => {
726
726
it ( 'rejects Name . Name . Name' , ( ) => {
727
727
expect ( ( ) => parseSchemaCoordinate ( 'MyType.field.deep' ) )
728
728
. to . throw ( )
729
- . to . deep . equal ( {
729
+ . to . deep . include ( {
730
730
message : 'Syntax Error: Expected <EOF>, found ".".' ,
731
731
locations : [ { line : 1 , column : 13 } ] ,
732
732
} ) ;
@@ -759,7 +759,7 @@ describe('Parser', () => {
759
759
it ( 'rejects Name . Name ( Name : Name )' , ( ) => {
760
760
expect ( ( ) => parseSchemaCoordinate ( 'MyType.field(arg: value)' ) )
761
761
. to . throw ( )
762
- . to . deep . equal ( {
762
+ . to . deep . include ( {
763
763
message : 'Syntax Error: Expected ")", found Name "value".' ,
764
764
locations : [ { line : 1 , column : 19 } ] ,
765
765
} ) ;
@@ -804,7 +804,7 @@ describe('Parser', () => {
804
804
it ( 'rejects @ Name . Name' , ( ) => {
805
805
expect ( ( ) => parseSchemaCoordinate ( '@myDirective.field' ) )
806
806
. to . throw ( )
807
- . to . deep . equal ( {
807
+ . to . deep . include ( {
808
808
message : 'Syntax Error: Expected <EOF>, found ".".' ,
809
809
locations : [ { line : 1 , column : 13 } ] ,
810
810
} ) ;
You can’t perform that action at this time.
0 commit comments