Skip to content

Commit

Permalink
Minor fix in extensions-test (#2168)
Browse files Browse the repository at this point in the history
  • Loading branch information
Cito authored and IvanGoncharov committed Sep 12, 2019
1 parent c68acd8 commit a53d5b3
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 a53d5b3

Please sign in to comment.