Skip to content

Commit

Permalink
Minor fix in extensions-test
Browse files Browse the repository at this point in the history
  • Loading branch information
Cito committed Sep 12, 2019
1 parent c68acd8 commit 6c66cbd
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/type/__tests__/extensions-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,11 +149,13 @@ describe('Type System: Extensions', () => {
});

it('with extensions', () => {
const interfaceExtensions = Object.freeze({ SomeObjectExt: 'object' });
const interfaceExtensions = Object.freeze({
SomeInterfaceExt: 'interface',
});
const fieldExtensions = Object.freeze({ SomeFieldExt: 'field' });
const argExtensions = Object.freeze({ SomeArgExt: 'arg' });

const someInterface = new GraphQLObjectType({
const someInterface = new GraphQLInterfaceType({
name: 'SomeInterface',
fields: {
someField: {
Expand Down Expand Up @@ -200,7 +202,7 @@ describe('Type System: Extensions', () => {
});

it('with extensions', () => {
const unionExtensions = Object.freeze({ SomeScalarExt: 'union' });
const unionExtensions = Object.freeze({ SomeUnionExt: 'union' });

const someUnion = new GraphQLUnionType({
name: 'SomeUnion',
Expand Down

0 comments on commit 6c66cbd

Please sign in to comment.