chore: Displayed WhatsApp API provider name in inbox settings (#5346)

This commit is contained in:
Sivin Varghese
2022-08-29 12:40:15 +05:30
committed by GitHub
parent 9ddf4c205c
commit a9d687565e
9 changed files with 63 additions and 31 deletions

View File

@@ -109,7 +109,7 @@ describe('inboxMixin', () => {
expect(wrapper.vm.isASmsInbox).toBe(true);
});
it('isATwilioWhatsappChannel returns true if channel type is Twilio and medium is whatsapp', () => {
it('isATwilioWhatsAppChannel returns true if channel type is Twilio and medium is WhatsApp', () => {
const Component = {
render() {},
mixins: [inboxMixin],
@@ -124,7 +124,7 @@ describe('inboxMixin', () => {
};
const wrapper = shallowMount(Component);
expect(wrapper.vm.isATwilioChannel).toBe(true);
expect(wrapper.vm.isATwilioWhatsappChannel).toBe(true);
expect(wrapper.vm.isATwilioWhatsAppChannel).toBe(true);
});
it('isAnEmailChannel returns true if channel type is email', () => {