From 974e5470b50957411a0c9efa1b4948aa01b90d62 Mon Sep 17 00:00:00 2001 From: Eric Mastro Date: Mon, 13 Feb 2023 17:45:47 +1100 Subject: [PATCH] fix test --- test/Marketplace.test.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/Marketplace.test.js b/test/Marketplace.test.js index a7f28e1..4dd77b9 100644 --- a/test/Marketplace.test.js +++ b/test/Marketplace.test.js @@ -148,9 +148,9 @@ describe("Marketplace", function () { it("allows retrieval of request of a filled slot", async function () { await marketplace.fillSlot(slot.request, slot.index, proof) - expect(await marketplace.getActiveSlot(slotId(slot))).to.be.request( - (request, slot.index) - ) + let activeSlot = await marketplace.getActiveSlot(slotId(slot)) + expect(activeSlot[0]).to.be.request(request) + expect(activeSlot[1]).to.equal(slot.index) }) it("is rejected when proof is incorrect", async function () {