Skip to content

Commit

Permalink
update test case to fail
Browse files Browse the repository at this point in the history
  • Loading branch information
dimatillck committed Apr 3, 2022
1 parent 1eb7c35 commit 6b91b09
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions packages/stitch/tests/typeMerging.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,9 +170,7 @@ describe('merging using type merging', () => {
const query = /* GraphQL */ `
query {
stats {
__typename
totalChirps
totalUsers
}
}
`;
Expand All @@ -185,9 +183,7 @@ describe('merging using type merging', () => {
expect(result.errors).toBeUndefined();
assertSome(result.data);
const statsData: any = result.data['stats'];
expect(statsData.__typename).toBe('Stats');
expect(statsData.totalChirps).not.toBe(null);
expect(statsData.totalUsers).not.toBe(null);
});

test('handle top level failures on subschema queries', async () => {
Expand Down

0 comments on commit 6b91b09

Please sign in to comment.