From 1fe169f6353cb077d4fecb726bc966685b577b78 Mon Sep 17 00:00:00 2001 From: mordenius Date: Thu, 23 Dec 2021 04:48:48 +0200 Subject: [PATCH] test(pharmacy) fix format --- pharmacy.test.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pharmacy.test.js b/pharmacy.test.js index f0925fc1..4f968658 100644 --- a/pharmacy.test.js +++ b/pharmacy.test.js @@ -1,9 +1,10 @@ import { Drug, Pharmacy } from "./pharmacy"; +import { Linear } from "./revaluations"; describe("Pharmacy", () => { it("should decrease the benefit and expiresIn", () => { - expect(new Pharmacy([new Drug("test", 2, 3)]).updateBenefitValue()).toEqual( - [new Drug("test", 1, 2)] + expect(new Pharmacy([new Drug("test", 2, 3, [new Linear()])]).updateBenefitValue().toString()).toEqual( + [new Drug("test", 1, 2, [new Linear()])].toString() ); }); });