Skip to content

Commit

Permalink
fix: specs
Browse files Browse the repository at this point in the history
  • Loading branch information
muhsin-k committed Apr 16, 2024
1 parent d9387a3 commit 970e243
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/types/conversation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export interface Conversation {
}

export interface Meta {
assignee: Assignee | null;
assignee: Assignee;
sender: Sender;
}

Expand Down
24 changes: 18 additions & 6 deletions test/sla.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ describe('SLAHelper', () => {
};
const chat = {
meta: {
assignee: null,
assignee: {
id: 1,
},
sender: {
id: 1,
},
Expand Down Expand Up @@ -64,7 +66,9 @@ describe('SLAHelper', () => {
};
const chat = {
meta: {
assignee: null,
assignee: {
id: 1,
},
sender: {
id: 1,
},
Expand Down Expand Up @@ -98,7 +102,9 @@ describe('SLAHelper', () => {

const chat = {
meta: {
assignee: null,
assignee: {
id: 1,
},
sender: {
id: 1,
},
Expand Down Expand Up @@ -131,7 +137,9 @@ describe('SLAHelper', () => {
};
const chat = {
meta: {
assignee: null,
assignee: {
id: 1,
},
sender: {
id: 1,
},
Expand Down Expand Up @@ -164,7 +172,9 @@ describe('SLAHelper', () => {
};
const chatMissed = {
meta: {
assignee: null,
assignee: {
id: 1,
},
sender: {
id: 1,
},
Expand Down Expand Up @@ -197,7 +207,9 @@ describe('SLAHelper', () => {
};
const chat = {
meta: {
assignee: null,
assignee: {
id: 1,
},
sender: {
id: 1,
},
Expand Down

0 comments on commit 970e243

Please sign in to comment.