Skip to content

Commit 121ff33

Browse files
committed
chore(Flowtype): Cover tests and other files with Flow
1 parent 630dfbe commit 121ff33

File tree

8 files changed

+12
-0
lines changed

8 files changed

+12
-0
lines changed

src/__mocks__/rootQueryTypeComposer.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
/* @flow */
2+
13
import { TypeComposer, graphql } from 'graphql-compose';
24

35
const RootQuery = new graphql.GraphQLObjectType({

src/__mocks__/userTypeComposer.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* @flow */
12
/* eslint-disable no-param-reassign */
23

34
import { TypeComposer, Resolver, graphql } from 'graphql-compose';

src/__tests__/composeWithConnection-test.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* @flow */
12
/* eslint-disable no-param-reassign */
23

34
import { expect } from 'chai';

src/__tests__/connectionResolver-test.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* @flow */
12
/* eslint-disable no-param-reassign */
23

34
import { expect } from 'chai';

src/__tests__/cursor-test.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
/* @flow */
2+
13
import { expect } from 'chai';
24
import { cursorToData, dataToCursor } from '../cursor';
35

src/__tests__/mocks-userTypeComposer-test.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* @flow */
12
/* eslint-disable no-param-reassign */
23

34
import { expect } from 'chai';

src/types/__tests__/connectionType-test.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
/* @flow */
2+
13
import { expect } from 'chai';
24
import { TypeComposer, graphql } from 'graphql-compose';
35
import { userTypeComposer } from '../../__mocks__/userTypeComposer';

src/types/__tests__/sortInputType-test.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
/* @flow */
2+
13
import { expect } from 'chai';
24
import { graphql } from 'graphql-compose';
35
import { userTypeComposer } from '../../__mocks__/userTypeComposer';

0 commit comments

Comments
 (0)