Skip to content

Commit 66ac963

Browse files
buildSchema/extendSchema: unify AST node processing (#2235)
1 parent 8960d0d commit 66ac963

File tree

3 files changed

+255
-286
lines changed

3 files changed

+255
-286
lines changed

src/utilities/__tests__/extendSchema-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1135,7 +1135,7 @@ describe('extendSchema', () => {
11351135
const schema = extendTestSchema(`
11361136
type Mutation
11371137
`);
1138-
expect(schema.getMutationType()).to.equal(null);
1138+
expect(schema.getMutationType()).to.equal(undefined);
11391139
});
11401140

11411141
it('adds schema definition missing in the original schema', () => {

0 commit comments

Comments
 (0)