Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
[EPIC] Jest integration tests to cover full GraphQL API #5310
In preparation for a push to remove the Meteor dependency from the GraphQL API, we would like full integration test coverage of all GraphQL queries and mutations provided by all core and included plugins. This epic issue will serve as the central tracking place for the work necessary to write all missing integration tests.
Mutations That Have Integration Tests
Mutations That Need Integration Tests
Queries That Have Integration Tests
Queries That Need Integration Tests
Other tests needed
If you want to help with this effort:
I answered this outside of GH but putting the answer here for others.
There is a factory package which is used to build mock data in
Package docs: https://github.com/reactioncommerce/data-factory
We made the data-factory stuff shortly after we wrote all of those giant catalog item mocks and nobody has gone back to rewrite them to use Factory. Help wanted.