Skip to content

Commit

Permalink
change path for generated test schema for IDE plugins to pick up easier
Browse files Browse the repository at this point in the history
  • Loading branch information
chriskalmar committed Jan 31, 2021
1 parent 492a327 commit 9894a1d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .graphqlrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
schema: 'test-schema.graphql'
schema: 'schema.graphql'
2 changes: 1 addition & 1 deletion test/db.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export const disconnectDB = async (): Promise<void> => {

export const initGraphQLSchema = (): void => {
graphqlSchema = generateGraphQLSchema(configuration);
writeFileSync('./test-schema.graphql', printSchema(graphqlSchema), 'utf8');
writeFileSync('./schema.graphql', printSchema(graphqlSchema), 'utf8');
};

export async function testGraphql(
Expand Down

0 comments on commit 9894a1d

Please sign in to comment.