-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
👍 0.7.0 - match method will not throw any exceptions
- Loading branch information
Showing
10 changed files
with
175 additions
and
55 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"query": "query GetHero($episode: Episode) { hero(episode: $episode) { name age } }", | ||
"variables": { | ||
"episode": "EMPIRE" | ||
} | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"query": "query GetHero($episode: Episode) { hero(episode: $episode) { name age } }", | ||
"variables": { | ||
"episode": "EMPIRE" | ||
} | ||
} |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# With other mappings | ||
|
||
## When using a mapping with this extension and normal mapping, graphql request should work | ||
tags: remote | ||
* Register a stub to return 200 upon receiving json <file:./fixtures/with-other/setup.json> | ||
* Register a normal stub to return 200 upon receiving json "{\"foo\": \"bar\"}" | ||
* Send a POST request to URL "/graphql" with body <file:./fixtures/with-other/request.json> | ||
* The response status code should be "200" | ||
|
||
## When using a mapping with this extension and normal mapping, normal request should work | ||
tags: remote | ||
* Register a stub to return 200 upon receiving json <file:./fixtures/with-other/setup.json> | ||
* Register a normal stub to return 200 upon receiving json "{\"foo\": \"bar\"}" | ||
* Send a POST request to URL "/graphql" with body "{\"foo\": \"bar\"}" | ||
* The response status code should be "200" | ||
|
||
## When using a mapping with this extension and normal mapping (change order), normal request should work | ||
tags: remote | ||
* Register a normal stub to return 200 upon receiving json "{\"foo\": \"bar\"}" | ||
* Register a stub to return 200 upon receiving json <file:./fixtures/with-other/setup.json> | ||
* Send a POST request to URL "/graphql" with body "{\"foo\": \"bar\"}" | ||
* The response status code should be "200" |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
ed1522d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
resolve #12