Skip to content

Commit

Permalink
test: add coverage for subgraph variation
Browse files Browse the repository at this point in the history
  • Loading branch information
danstarns committed Dec 7, 2024
1 parent f6a0e29 commit b9029a0
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions packages/gqlpt/tests/subgraph-namespace.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -913,6 +913,23 @@ adapters.forEach(({ name, adapter }) => {
);

assertMatchesVariation(result, [
{
query: /* GraphQL */ `
{
music_subgraph {
allAlbums(first: 10) {
albums {
artist {
name
}
title
}
}
}
}
`,
variables: {},
},
{
query: /* GraphQL */ `
query ($first: Int) {
Expand Down

0 comments on commit b9029a0

Please sign in to comment.