Skip to content

Commit

Permalink
chore: fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
muhsin-k committed Dec 20, 2023
1 parent 03e147a commit 52780da
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/types/conversation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export interface Assignee {
}

export interface Variables {
[key: string]: string | number| boolean
[key: string]: string | number | boolean;
}

export interface CustomAttributes {
Expand Down
3 changes: 2 additions & 1 deletion test/canned.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 52780da

Please sign in to comment.