We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c183af0 commit 0eb9835Copy full SHA for 0eb9835
graphql_client_web/tests/web.rs
@@ -44,7 +44,10 @@ fn test_germany() -> impl Future<Item = (), Error = JsValue> {
44
.expect("germany is on a continent");
45
46
assert_eq!(continent_name, "Europe");
47
- }).map_err(|_| JsValue::NULL)
+ }).map_err(|err| {
48
+ panic!("{:?}", err);
49
+ JsValue::NULL
50
+ })
51
}
52
53
#[derive(GraphQLQuery)]
@@ -74,5 +77,8 @@ fn test_country() -> impl Future<Item = (), Error = JsValue> {
74
77
.expect("country is on a continent");
75
78
76
79
assert_eq!(continent_name, "Asia");
80
81
82
83
84
0 commit comments