Skip to content

Commit

Permalink
Arguments printing first working
Browse files Browse the repository at this point in the history
Co-authored-by: Jason Smythe <[email protected]>
  • Loading branch information
marvinkruse and JasoonS committed Sep 3, 2020
1 parent 5788ac5 commit 4e34a41
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 8 deletions.
7 changes: 4 additions & 3 deletions graphql-connection-utils/src/Test.bs.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 7 additions & 4 deletions graphql-connection-utils/src/Test.re
Original file line number Diff line number Diff line change
Expand Up @@ -173,14 +173,17 @@ describe("Graph Test", done_ => {
stateChange.txEventList
->Array.mapWithIndex((index, event) => {
Js.log2("event", event);
// let argumentsJson = Js.Json.parseExn(stateChange.txEventParamList[index]->Option.getWithDefault("THIS SHOULD NEVER HAPPEN"));
let argumentsJson = Js.Json.parseExn("[\"Hello\"]");
let argumentsJson =
Js.Json.parseExn(
stateChange.txEventParamList[index]
->Option.getWithDefault("THIS SHOULD NEVER HAPPEN"),
);
// let argumentsJson = Js.Json.parseExn("[\"Hello\"]");
Js.log2("arguments", argumentsJson);

done_();
})
})
->ignore;
done_();

| None => done_()
}
Expand Down
2 changes: 1 addition & 1 deletion wildcards-subgraph

0 comments on commit 4e34a41

Please sign in to comment.