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', () => {
726726 it ( 'rejects Name . Name . Name' , ( ) => {
727727 expect ( ( ) => parseSchemaCoordinate ( 'MyType.field.deep' ) )
728728 . to . throw ( )
729- . to . deep . equal ( {
729+ . to . deep . include ( {
730730 message : 'Syntax Error: Expected <EOF>, found ".".' ,
731731 locations : [ { line : 1 , column : 13 } ] ,
732732 } ) ;
@@ -759,7 +759,7 @@ describe('Parser', () => {
759759 it ( 'rejects Name . Name ( Name : Name )' , ( ) => {
760760 expect ( ( ) => parseSchemaCoordinate ( 'MyType.field(arg: value)' ) )
761761 . to . throw ( )
762- . to . deep . equal ( {
762+ . to . deep . include ( {
763763 message : 'Syntax Error: Expected ")", found Name "value".' ,
764764 locations : [ { line : 1 , column : 19 } ] ,
765765 } ) ;
@@ -804,7 +804,7 @@ describe('Parser', () => {
804804 it ( 'rejects @ Name . Name' , ( ) => {
805805 expect ( ( ) => parseSchemaCoordinate ( '@myDirective.field' ) )
806806 . to . throw ( )
807- . to . deep . equal ( {
807+ . to . deep . include ( {
808808 message : 'Syntax Error: Expected <EOF>, found ".".' ,
809809 locations : [ { line : 1 , column : 13 } ] ,
810810 } ) ;
You can’t perform that action at this time.
0 commit comments