feat: Show teams on sidebar (#1754)

Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
Co-authored-by: Sojan <sojan@pepalo.com>
This commit is contained in:
Nithin David Thomas
2021-02-13 14:58:05 +05:30
committed by GitHub
parent 8d45849d0c
commit eaafc45f45
12 changed files with 110 additions and 4 deletions

View File

@@ -12,6 +12,7 @@ describe('#mutations', () => {
it('set teams records', () => {
const state = { records: {} };
mutations[SET_TEAMS](state, [teams[1]]);
mutations[SET_TEAMS](state, [teams[2]]);
expect(state.records).toEqual(teams);
});
});