feat: Dedicated tab for campaigns (#2741)
This commit is contained in:
@@ -43,4 +43,16 @@ export default [
|
||||
website_token: 'randomid125',
|
||||
enable_auto_assignment: true,
|
||||
},
|
||||
{
|
||||
id: 5,
|
||||
channel_id: 5,
|
||||
name: 'Test Widget 5',
|
||||
channel_type: 'Channel::TwilioSms',
|
||||
avatar_url: null,
|
||||
page_id: null,
|
||||
widget_color: '#68BC00',
|
||||
website_token: 'randomid125',
|
||||
enable_auto_assignment: true,
|
||||
},
|
||||
|
||||
];
|
||||
|
||||
@@ -14,6 +14,11 @@ describe('#getters', () => {
|
||||
expect(getters.getWebsiteInboxes(state).length).toEqual(3);
|
||||
});
|
||||
|
||||
it('getTwilioInboxes', () => {
|
||||
const state = { records: inboxList };
|
||||
expect(getters.getTwilioInboxes(state).length).toEqual(1);
|
||||
});
|
||||
|
||||
it('getInbox', () => {
|
||||
const state = {
|
||||
records: inboxList,
|
||||
|
||||
Reference in New Issue
Block a user