Skip to content

Commit 89cfa4d

Browse files
committed
modify test
1 parent 33a7394 commit 89cfa4d

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
query {
1+
{
22
hello
33
}

packages/plugin/__tests__/schema.spec.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -114,10 +114,7 @@ describe('schema', async () => {
114114

115115
it('should load the graphql-config rc file relative to the linted file', () => {
116116
const gqlConfig = loadGraphQLConfig({
117-
graphQLConfig: {
118-
schema: path.resolve(__dirname, 'mocks/using-config/schema-in-config.graphql'),
119-
},
120-
filePath: path.resolve(__dirname, 'mocks/using-config/test.graphql'),
117+
filePath: path.resolve(__dirname, 'mocks/using-config/nested/test.graphql'),
121118
});
122119

123120
const graphQLSchema = getSchema(gqlConfig.getDefault()) as GraphQLSchema;

0 commit comments

Comments
 (0)