From 17d88159f8a93bc5f85aa244feb462961b450f04 Mon Sep 17 00:00:00 2001 From: Chaplin Artem <75485190+ArCheeq@users.noreply.github.com> Date: Sat, 22 Apr 2023 18:32:48 +0300 Subject: [PATCH] fix: fix test function --- js-mocha/test/test_gilded_rose.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js-mocha/test/test_gilded_rose.js b/js-mocha/test/test_gilded_rose.js index b367571c..9389af1a 100644 --- a/js-mocha/test/test_gilded_rose.js +++ b/js-mocha/test/test_gilded_rose.js @@ -5,7 +5,7 @@ describe("Gilded Rose", function() { it("should foo", function() { const gildedRose = new Shop([ new Item("foo", 0, 0) ]); const items = gildedRose.updateQuality(); - expect(items[0].name).to.equal("fixme"); + expect(items[0].name).to.equal("foo"); }); });