Finish in-redux conversation lookups, getPropsForSearchResult moved
This commit is contained in:
parent
7fe40dbf83
commit
cbc6c29479
18 changed files with 901 additions and 146 deletions
15
test/setup-test-node.js
Normal file
15
test/setup-test-node.js
Normal 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 = {};
|
Loading…
Add table
Add a link
Reference in a new issue