Skip to content

Commit d69c533

Browse files
CitoIvanGoncharov
authored andcommitted
Add comment to make test better understandable (#1850)
1 parent 9ab5dfb commit d69c533

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/utilities/__tests__/buildASTSchema-test.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ describe('Schema Builder', () => {
116116
}
117117
`);
118118

119+
// String and Boolean are always included through introspection types
119120
expect(schema.getType('Int')).to.equal(undefined);
120121
expect(schema.getType('Float')).to.equal(undefined);
121122
expect(schema.getType('ID')).to.equal(undefined);

src/utilities/__tests__/extendSchema-test.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,7 @@ describe('extendSchema', () => {
277277
}
278278
`);
279279

280+
// String and Boolean are always included through introspection types
280281
expect(schema.getType('Int')).to.equal(undefined);
281282
expect(schema.getType('Float')).to.equal(undefined);
282283
expect(schema.getType('String')).to.equal(GraphQLString);

0 commit comments

Comments
 (0)