mirror of
https://github.com/lingble/chatwoot.git
synced 2025-11-06 05:57:49 +00:00
* feat: Add support for bulk snooze until * feat: Adds support for all snooze option in bulk actions * chore: Adds comment * chore: Review fixes * chore: Minor fix * chore: Minor fix * chore: Review fixes * chore: yarn changes * fix: terminal waring * chore: Adds spec * Update conversationHotKeys.js --------- Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com>
21 lines
465 B
JavaScript
21 lines
465 B
JavaScript
import { getters } from '../../bulkActions';
|
|
|
|
describe('#getters', () => {
|
|
it('getUIFlags', () => {
|
|
const state = {
|
|
uiFlags: {
|
|
isUpdating: false,
|
|
},
|
|
};
|
|
expect(getters.getUIFlags(state)).toEqual({
|
|
isUpdating: false,
|
|
});
|
|
});
|
|
it('getSelectedConversationIds', () => {
|
|
const state = {
|
|
selectedConversationIds: [1, 2, 3],
|
|
};
|
|
expect(getters.getSelectedConversationIds(state)).toEqual([1, 2, 3]);
|
|
});
|
|
});
|