This commit is contained in:
Chi Vinh Le
2018-09-07 00:59:59 +02:00
parent df664bdb73
commit fb1b9c51ee
@@ -7,7 +7,7 @@ function createTestRenderer(initialView: string): ReactTestRenderer {
// Set this to true, to see graphql responses.
logNetwork: false,
initLocalState: localRecord => {
localRecord.setValue("SIGN_IN", "view");
localRecord.setValue(initialView, "view");
},
});
return testRenderer;