We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cf4629d commit 7a8df03Copy full SHA for 7a8df03
1 file changed
src/language/__tests__/printer-test.ts
@@ -124,11 +124,16 @@ describe('Printer: Query document', () => {
124
125
it('Experimental: prints directives on directives', () => {
126
const queryASTWithVariableDirective = parse(
127
- 'directive @foo @bar on FIELD_DEFINITION',
+ `
128
+ directive @foo @bar on FIELD_DEFINITION
129
+ extend directive @foo @baz
130
+ `,
131
{ experimentalDirectivesOnDirectiveDefinitions: true },
132
);
133
expect(print(queryASTWithVariableDirective)).to.equal(dedent`
134
directive @foo @bar on FIELD_DEFINITION
135
+
136
137
`);
138
});
139
0 commit comments