Skip to content

Commit 3c9f806

Browse files
committed
Add missing test fixture
1 parent 2bfa2ea commit 3c9f806

File tree

2 files changed

+24
-1
lines changed

2 files changed

+24
-1
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
type Query {
2+
hello: String!
3+
serverSideField: ServerField!
4+
someEnum: SomeEnum!
5+
}
6+
7+
type ServerField {
8+
serverData: String!
9+
}
10+
11+
type RemovedField {
12+
id: ID!
13+
name: RemovedType
14+
}
15+
16+
type RemovedType {
17+
fieldName: String
18+
}
19+
20+
enum SomeEnum {
21+
foo
22+
bar
23+
}

packages/apollo/src/commands/client/__tests__/generate.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ const {
3232
clientSideOnlySchema,
3333
clientSideOnlyQuery,
3434
} = resolveFiles({
35-
graphQLSchema: "../../service/__tests__/fixtures/schema.graphql",
35+
graphQLSchema: "./fixtures/schema.graphql",
3636
simpleQuery: "./fixtures/simpleQuery.graphql",
3737
otherQuery: "./fixtures/otherQuery.graphql",
3838
queryWithFragments: "./fixtures/queryWithFragments.graphql",

0 commit comments

Comments
 (0)