Merge pull request 'fix test' (#410) from 2494repair_xdescribe into dev
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
Reviewed-on: #410 Reviewed-by: Joan Sanchez <joan@verdnatura.es>
This commit is contained in:
commit
630e6ffac7
|
@ -1,6 +1,6 @@
|
|||
const app = require('vn-loopback/server/server');
|
||||
|
||||
xdescribe('item getWasteDetail()', () => {
|
||||
describe('item getWasteDetail()', () => {
|
||||
it('should check for the waste breakdown for every worker', async() => {
|
||||
let result = await app.models.Item.getWasteDetail();
|
||||
|
||||
|
@ -14,10 +14,10 @@ xdescribe('item getWasteDetail()', () => {
|
|||
expect(result.length).toEqual(3);
|
||||
expect(firstBuyer).toEqual('CharlesXavier');
|
||||
expect(firstBuyerLines.length).toEqual(4);
|
||||
expect(secondBuyer).toEqual('DavidCharlesHaller');
|
||||
expect(secondBuyer).toEqual('HankPym');
|
||||
expect(secondBuyerLines.length).toEqual(3);
|
||||
|
||||
expect(thirdBuyer).toEqual('HankPym');
|
||||
expect(thirdBuyer).toEqual('DavidCharlesHaller');
|
||||
expect(thirdBuyerLines.length).toEqual(3);
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue