back end unit test maintenance
This commit is contained in:
parent
784f00c860
commit
4ff2d0e6d3
|
@ -1,10 +1,9 @@
|
||||||
const app = require(`${servicesDir}/order/server/server`);
|
const app = require(`${servicesDir}/order/server/server`);
|
||||||
|
|
||||||
// lo repara el cau 8189
|
describe('order getTotal()', () => {
|
||||||
xdescribe('order getTotal()', () => {
|
|
||||||
it('should return the total', async() => {
|
it('should return the total', async() => {
|
||||||
let result = await app.models.Order.getTotal(1);
|
let result = await app.models.Order.getTotal(1);
|
||||||
|
|
||||||
expect(result.total).toEqual(14.45);
|
expect(result).toEqual(145.09);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue