mirror of
https://github.com/lingble/chatwoot.git
synced 2025-11-20 21:15:01 +00:00
* Chore: Move conversationStats to a seperate module * Move toggleTyping to conversationTypingStatus * Remove unused agentTyping flag * Fix review comments
17 lines
333 B
JavaScript
17 lines
333 B
JavaScript
import { getters } from '../../conversationStats';
|
|
|
|
describe('#getters', () => {
|
|
it('getCurrentPage', () => {
|
|
const state = {
|
|
mineCount: 1,
|
|
unAssignedCount: 1,
|
|
allCount: 2,
|
|
};
|
|
expect(getters.getStats(state)).toEqual({
|
|
mineCount: 1,
|
|
unAssignedCount: 1,
|
|
allCount: 2,
|
|
});
|
|
});
|
|
});
|