Open reborg opened 1 year ago
Do you suggest to mock graphql server (or only HTTP calls), or make tests with real graphql server, either site or something else ?
Only http calls, see https://clojuredocs.org/clojure.core/with-redefs#example-542692d6c026201cdc3270bd . This is not urgent, but probably required for publication.
The only test available calls
load-queries
. It should exerciseinit
and then calling the function returned byinit
. It should possibly use a local file and a remote one (http get/post can be stubbed withwith-redefs
).