test(sample/33): add e2e tests for graphql-mercurius sample#16584
Closed
mahmoodhamdi wants to merge 1 commit intonestjs:masterfrom
Closed
test(sample/33): add e2e tests for graphql-mercurius sample#16584mahmoodhamdi wants to merge 1 commit intonestjs:masterfrom
mahmoodhamdi wants to merge 1 commit intonestjs:masterfrom
Conversation
Add e2e tests for the graphql-mercurius sample application: - Query recipes: verify list of recipes is returned via GraphQL - Query recipe by id: verify single recipe lookup - Mutation addRecipe: verify recipe creation via GraphQL mutation - Mutation removeRecipe: verify recipe removal returns true Uses --experimental-vm-modules flag required by Mercurius. Co-Authored-By: Mahmoud Hamdi <hmdy7486@gmail.com>
Pull Request Test Coverage Report for Build 42b2e765-7ca1-4b3b-ba36-d552d706eee6Details
💛 - Coveralls |
Member
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR Checklist
npm run test:e2ein sample directory)Description
Add end-to-end tests for sample
33-graphql-mercurius:Uses
FastifyAdapterwith--experimental-vm-modulesflag required by Mercurius, and overridesRecipesServicewith mock data.Test Output