front unit tests fix
gitea/salix/pipeline/head There was a failure building this commit Details

This commit is contained in:
Carlos Jimenez Ruiz 2021-06-23 13:32:23 +02:00
parent 8344a58ab8
commit 9389bbf779
2 changed files with 2 additions and 2 deletions

View File

@ -112,7 +112,7 @@ describe('Order', () => {
const secondRow = rows[1];
expect(rows.length).toEqual(2);
expect(firstRow.quantity).toEqual(11010);
expect(firstRow.quantity).toEqual(1010);
expect(secondRow.quantity).toEqual(10);
});
});

View File

@ -459,7 +459,7 @@ describe('Ticket', () => {
sale: selectedSale
};
const expectedAmount = 1105.75;
const expectedAmount = 105.75;
const result = controller.getNewPrice();
expect(result).toEqual(expectedAmount);