Skip to content

Commit 7a8df03

Browse files
committed
try to make test coverage pass
1 parent cf4629d commit 7a8df03

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

src/language/__tests__/printer-test.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,11 +124,16 @@ describe('Printer: Query document', () => {
124124

125125
it('Experimental: prints directives on directives', () => {
126126
const queryASTWithVariableDirective = parse(
127-
'directive @foo @bar on FIELD_DEFINITION',
127+
`
128+
directive @foo @bar on FIELD_DEFINITION
129+
extend directive @foo @baz
130+
`,
128131
{ experimentalDirectivesOnDirectiveDefinitions: true },
129132
);
130133
expect(print(queryASTWithVariableDirective)).to.equal(dedent`
131134
directive @foo @bar on FIELD_DEFINITION
135+
136+
extend directive @foo @baz
132137
`);
133138
});
134139

0 commit comments

Comments
 (0)