Skip to content

Commit

Permalink
adjust a test to for code coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
yaacovCR committed Sep 23, 2024
1 parent 23e2ba9 commit 022396e
Showing 1 changed file with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -638,10 +638,10 @@ describe('Validate: Overlapping fields can be merged', () => {
expectErrors(`
{
field {
...F
...I
}
field {
...I
...F
}
}
fragment F on T {
Expand All @@ -661,14 +661,14 @@ describe('Validate: Overlapping fields can be merged', () => {
`).toDeepEqual([
{
message:
'Fields "field" conflict because subfields "x" conflict because "a" and "b" are different fields and subfields "y" conflict because "c" and "d" are different fields. Use different aliases on the fields to fetch both if this was intentional.',
'Fields "field" conflict because subfields "y" conflict because "d" and "c" are different fields and subfields "x" conflict because "b" and "a" are different fields. Use different aliases on the fields to fetch both if this was intentional.',
locations: [
{ line: 3, column: 9 },
{ line: 11, column: 9 },
{ line: 15, column: 9 },
{ line: 6, column: 9 },
{ line: 22, column: 9 },
{ line: 18, column: 9 },
{ line: 22, column: 9 },
{ line: 6, column: 9 },
{ line: 15, column: 9 },
{ line: 11, column: 9 },
],
},
]);
Expand Down

0 comments on commit 022396e

Please sign in to comment.