diff --git a/src/types/conversation.ts b/src/types/conversation.ts index 02ba190..1ca32f5 100644 --- a/src/types/conversation.ts +++ b/src/types/conversation.ts @@ -33,7 +33,7 @@ export interface Assignee { } export interface Variables { - [key: string]: string | number| boolean + [key: string]: string | number | boolean; } export interface CustomAttributes { diff --git a/test/canned.test.ts b/test/canned.test.ts index bac8f5e..f397741 100644 --- a/test/canned.test.ts +++ b/test/canned.test.ts @@ -136,7 +136,8 @@ describe('#getMessageVariables', () => { describe('#getUndefinedVariablesInMessage', () => { it('returns the undefined variables', () => { - const message = 'It seems like you are facing issues with {{contact.integration}}, the cloud customer is {{contact.custom_attribute.cloud_customer}}'; + const message = + 'It seems like you are facing issues with {{contact.integration}}, the cloud customer is {{contact.custom_attribute.cloud_customer}}'; expect( getUndefinedVariablesInMessage({ message, variables }).length ).toEqual(1);