Finish in-redux conversation lookups, getPropsForSearchResult moved

This commit is contained in:
Scott Nonnenberg 2021-01-06 07:41:43 -08:00
parent 7fe40dbf83
commit cbc6c29479
18 changed files with 901 additions and 146 deletions

15
test/setup-test-node.js Normal file
View file

@ -0,0 +1,15 @@
/* eslint-disable no-console */
// To replicate logic we have on the client side
global.window = {
log: {
info: (...args) => console.log(...args),
warn: (...args) => console.warn(...args),
error: (...args) => console.error(...args),
},
i18n: key => `i18n(${key})`,
};
// For ducks/network.getEmptyState()
global.navigator = {};
global.WebSocket = {};