parent
e44e9fc025
commit
54d578676b
5 changed files with 33 additions and 13 deletions
|
@ -21,6 +21,11 @@ describe('#URL Helpers', () => {
|
|||
conversationUrl({ accountId: 1, label: 'customer-support', id: 1 })
|
||||
).toBe('accounts/1/label/customer-support/conversations/1');
|
||||
});
|
||||
it('should return correct conversation URL if team Id is available', () => {
|
||||
expect(conversationUrl({ accountId: 1, teamId: 1, id: 1 })).toBe(
|
||||
'accounts/1/team/1/conversations/1'
|
||||
);
|
||||
});
|
||||
});
|
||||
|
||||
describe('frontendURL', () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue