We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3493edd commit 81db410Copy full SHA for 81db410
src/utilities/__tests__/buildASTSchema-test.js
@@ -754,18 +754,6 @@ describe('Schema Builder', () => {
754
expect(schema.getSubscriptionType().name).to.equal('Subscription');
755
});
756
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
769
it('can build invalid schema', () => {
770
const schema = buildSchema(dedent`
771
# Invalid schema, because it is missing query root type
0 commit comments