You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/__tests__/astMerge-test.ts
+15-15Lines changed: 15 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -16,17 +16,27 @@ describe('astMerge', () => {
16
16
constschema=astToSchema(mergedAst);
17
17
18
18
expect(schema.toSDL()).toMatchInlineSnapshot(`
19
-
"type Mutation {
19
+
"type Query {
20
+
\\"\\"\\"B.query.me\\"\\"\\"
21
+
me: String
22
+
tasks: QueryTasks
23
+
}
24
+
25
+
type Mutation {
20
26
\\"\\"\\"A.mutation.createTask\\"\\"\\"
21
27
createTask: String
22
28
}
23
29
24
-
type Query {
25
-
\\"\\"\\"B.query.me\\"\\"\\"
26
-
me: String
27
-
tasks: QueryTasks
30
+
type Subscription {
31
+
\\"\\"\\"B.subscription.events\\"\\"\\"
32
+
events: String
28
33
}
29
34
35
+
\\"\\"\\"
36
+
The \`String\` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
37
+
\\"\\"\\"
38
+
scalar String
39
+
30
40
type QueryTasks {
31
41
\\"\\"\\"B.query.tasks.byId\\"\\"\\"
32
42
byId: String
@@ -36,16 +46,6 @@ describe('astMerge', () => {
36
46
37
47
\\"\\"\\"B.query.tasks.byIds\\"\\"\\"
38
48
byIds: String
39
-
}
40
-
41
-
\\"\\"\\"
42
-
The \`String\` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
0 commit comments