Skip to content

Commit 6b91b09

Browse files
committed
update test case to fail
1 parent 1eb7c35 commit 6b91b09

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

packages/stitch/tests/typeMerging.test.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -170,9 +170,7 @@ describe('merging using type merging', () => {
170170
const query = /* GraphQL */ `
171171
query {
172172
stats {
173-
__typename
174173
totalChirps
175-
totalUsers
176174
}
177175
}
178176
`;
@@ -185,9 +183,7 @@ describe('merging using type merging', () => {
185183
expect(result.errors).toBeUndefined();
186184
assertSome(result.data);
187185
const statsData: any = result.data['stats'];
188-
expect(statsData.__typename).toBe('Stats');
189186
expect(statsData.totalChirps).not.toBe(null);
190-
expect(statsData.totalUsers).not.toBe(null);
191187
});
192188

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

0 commit comments

Comments
 (0)