Skip to content

Commit

Permalink
fixing linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
jespino committed Oct 31, 2019
1 parent 53a19b2 commit 70aaa53
Showing 1 changed file with 1 addition and 27 deletions.
28 changes: 1 addition & 27 deletions actions/websocket_actions.test.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -836,31 +836,6 @@ describe('handlePluginEnabled/handlePluginDisabled', () => {
});

describe('handleLeaveTeam', () => {
const initialState = {
entities: {
channels: {
currentChannelId: 'channel',
membersInChannel: {
channel1: {member1: 'member1-data'},
channel2: {member2: 'member2-data'},
},
channelsInTeam: {
team: ['channel1', 'channel2'],
},
},
teams: {
currentTeamId: 'team',
teams: {
team: {id: 'team', name: 'team'},
},
membersInTeam: {
team1: {member1: 'member1-data'},
team2: {member2: 'member2-data'},
},
},
},
};

test('when a user leave a team', () => {
const msg = {data: {team_id: 'team', user_id: 'member1'}};

Expand Down Expand Up @@ -889,8 +864,7 @@ describe('handleLeaveTeam', () => {
},
],
type: 'BATCHING_REDUCER.BATCH',
}
;
};
expect(store.dispatch).toHaveBeenCalledWith(expectedAction);
});
});

0 comments on commit 70aaa53

Please sign in to comment.