Skip to content

Commit

Permalink
rename tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kftsehk committed Jul 4, 2022
1 parent 427c224 commit b491287
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import { stitchSchemas } from '../src/stitchSchemas.js';
import { graphql } from 'graphql';
import { assertSome } from '@graphql-tools/utils';

describe('Mutation of stitched schema merge', () => {
test('Has Mutation.*User, not Query.*User', async () => {
describe('Mutations executed as mutation on stitched schema', () => {
test('Mutation executed when only mutation type is available', async () => {
const sub0Schema = makeExecutableSchema({
typeDefs: /* GraphQL */ `
type Query {
Expand Down Expand Up @@ -121,7 +121,7 @@ describe('Mutation of stitched schema merge', () => {
});
});

test('Added Query.*User to both server', async () => {
test('Mutation executed when both mutation and query are available', async () => {
const sub0Schema = makeExecutableSchema({
typeDefs: /* GraphQL */ `
type Query {
Expand Down

0 comments on commit b491287

Please sign in to comment.