Add more message reducer tests

This commit is contained in:
Ken-Håvard Lieng 2017-05-15 05:57:12 +02:00
parent c598ace18c
commit a4d40bef39
4 changed files with 157 additions and 9 deletions

View file

@ -87,7 +87,7 @@ export function sendMessage(content, to, server) {
const state = getState();
dispatch({
type: actions.SEND_MESSAGE,
type: actions.ADD_MESSAGE,
server,
tab: to,
message: initMessage({