Skip to content

Commit 81db410

Browse files
Citoleebyron
authored andcommitted
Remove duplicate test (#1240)
1 parent 3493edd commit 81db410

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

src/utilities/__tests__/buildASTSchema-test.js

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -754,18 +754,6 @@ describe('Schema Builder', () => {
754754
expect(schema.getSubscriptionType().name).to.equal('Subscription');
755755
});
756756

757-
it('Default root operation type names', () => {
758-
const schema = buildSchema(dedent`
759-
type Query { str: String }
760-
type Mutation { str: String }
761-
type Subscription { str: String }
762-
`);
763-
764-
expect(schema.getQueryType().name).to.equal('Query');
765-
expect(schema.getMutationType().name).to.equal('Mutation');
766-
expect(schema.getSubscriptionType().name).to.equal('Subscription');
767-
});
768-
769757
it('can build invalid schema', () => {
770758
const schema = buildSchema(dedent`
771759
# Invalid schema, because it is missing query root type

0 commit comments

Comments
 (0)