Step 2 - Defer IDE gql client creation
- POC MR
- Step 1 - Remove IDE singleton store
- Step 2 - Defer IDE gql client creation
- Step 3 - Setup testURL in jest jsdom
- Step 4 - Setup mock server for IDE integration spec
- Step 5 - Add integration spec "user commits changes"
What does this MR do?
Currently the IDE gql
module creates the graphql client on import. This causes an issue with miragejs where the client is created before the mock server and therefore uses the old reference to the real fetch
instead of the mocked one.
References
Edited by Paul Slaughter