Skip to content

Commit 83b9fcc

Browse files
committed
Fixed tests
1 parent 371fc25 commit 83b9fcc

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

packages/javascript-api/src/lib/services/ticket/ticket.service.spec.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ describe('Ticket service', function () {
3030
};
3131

3232
const ticketsWithMessages = {
33-
data: tickets.data.map((each) => ({ ...each, messages: [] })),
33+
data: tickets.data.map((each) => ({ ...each, messages: [] as any[] })),
3434
};
3535

3636
it('searches based on lines', function (done) {
@@ -407,10 +407,6 @@ describe('Ticket service', function () {
407407
],
408408
};
409409

410-
const ticketsWithMessages = {
411-
data: tickets.data.map((each) => ({ ...each, messages: [] })),
412-
};
413-
414410
it('searches based on lines', function (done) {
415411
const request = { line: [123, 124, 125] };
416412
requestStub.onCall(0).resolves(tickets);

0 commit comments

Comments
 (0)