Skip to content

Commit 095244c

Browse files
committed
ci(Travis): Revert flowtype fixes from previous commit
1 parent 99980f5 commit 095244c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/__tests__/composeWithRelay-test.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ describe('composeWithRelay', () => {
4242
describe('when pass RootQuery type composer', () => {
4343
it('should add `node` field to RootQuery', () => {
4444
const nodeField = rootQueryComposer.getField('node');
45+
// $FlowFixMe
4546
expect(nodeField.type).toBeInstanceOf(GraphQLInterfaceType);
4647
// $FlowFixMe
4748
expect(nodeField.type.name).toBe('Node');
@@ -51,11 +52,13 @@ describe('composeWithRelay', () => {
5152
describe('when pass User type composer (not RootQuery)', () => {
5253
it('should add or override id field', () => {
5354
const idField = userComposer.getField('id');
55+
// $FlowFixMe
5456
expect(idField.description).toContain('globally unique ID');
5557
});
5658

5759
it('should make id field NonNull', () => {
5860
const idField = userComposer.getField('id');
61+
// $FlowFixMe
5962
expect(idField.type).toBeInstanceOf(GraphQLNonNull);
6063
});
6164

0 commit comments

Comments
 (0)