From 6e081df4e82ce48a2cca5992e14123fd875231cf Mon Sep 17 00:00:00 2001 From: Bernat Exposito Domenech Date: Tue, 13 Oct 2020 08:17:00 +0200 Subject: [PATCH] fix test --- modules/item/back/methods/item/specs/getWasteDetail.spec.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/item/back/methods/item/specs/getWasteDetail.spec.js b/modules/item/back/methods/item/specs/getWasteDetail.spec.js index 6ed202178..b5556e154 100644 --- a/modules/item/back/methods/item/specs/getWasteDetail.spec.js +++ b/modules/item/back/methods/item/specs/getWasteDetail.spec.js @@ -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); }); });