mirror of
https://github.com/wassname/talk.git
synced 2026-08-07 11:29:44 +08:00
Fix test
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user