Updated unit test
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
dddfe2773a
commit
3d388ad226
|
@ -61,8 +61,8 @@ describe('ticket', () => {
|
||||||
controller.sales = [{id: 1, name: 'Sale one'}, {id: 2, name: 'Sale two'}];
|
controller.sales = [{id: 1, name: 'Sale one'}, {id: 2, name: 'Sale two'}];
|
||||||
controller.volumes = [{saleFk: 1, m3: 0.012}, {saleFk: 2, m3: 0.015}];
|
controller.volumes = [{saleFk: 1, m3: 0.012}, {saleFk: 2, m3: 0.015}];
|
||||||
|
|
||||||
expect(controller.sales[0].volume.m3).toEqual(0.012);
|
expect(controller.sales[0].saleVolume.volume).toEqual(0.012);
|
||||||
expect(controller.sales[1].volume.m3).toEqual(0.015);
|
expect(controller.sales[1].saleVolume.volume).toEqual(0.015);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue