Update client deps: react 16.3, babel 7

This commit is contained in:
Ken-Håvard Lieng 2018-04-05 21:13:32 +02:00
parent 1ae7d867a9
commit 0cbbc1b8ff
46 changed files with 1125 additions and 808 deletions

View file

@ -1,5 +1,5 @@
import Immutable from 'immutable';
import reducer from '../channels';
import reducer, { compareUsers } from '../channels';
import { connect } from '../servers';
import * as actions from '../actions';
@ -294,7 +294,6 @@ function socket_mode(server, channel, user, add, remove) {
describe('compareUsers()', () => {
it('compares users correctly', () => {
const compareUsers = reducer.__get__('compareUsers');
expect([
{ renderName: 'user5' },
{ renderName: '@user2' },