front unit tests fix
gitea/salix/pipeline/head There was a failure building this commit
Details
gitea/salix/pipeline/head There was a failure building this commit
Details
This commit is contained in:
parent
8344a58ab8
commit
9389bbf779
|
@ -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);
|
||||
});
|
||||
});
|
||||
|
|
|
@ -459,7 +459,7 @@ describe('Ticket', () => {
|
|||
sale: selectedSale
|
||||
};
|
||||
|
||||
const expectedAmount = 1105.75;
|
||||
const expectedAmount = 105.75;
|
||||
const result = controller.getNewPrice();
|
||||
|
||||
expect(result).toEqual(expectedAmount);
|
||||
|
|
Loading…
Reference in New Issue