Skip to content

Commit 13555c4

Browse files
Change test for conjured items
Change test for Conjured items in the gilded-rose.spec.ts file. Signed-off-by: Alexandra Stroiu <[email protected]>
1 parent cad415a commit 13555c4

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

test/jest/gilded-rose.spec.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,6 @@ describe("Gilded Rose", () => {
132132
it("Once the sell by date has passed, Quality degrades twice as fast.", () => {
133133
const gildedRose = new GildedRose([
134134
new Item("Aged Brie", -2, 6),
135-
new Item("Backstage passes to a TAFKAL80ETC concert", 0, 50),
136135
new Item("Sword", 0, 2),
137136
new Item("Sword", 0, 3),
138137
new Item("Sword", -1, 1),
@@ -142,9 +141,8 @@ describe("Gilded Rose", () => {
142141

143142
expect(items[0].quality).toBe(8);
144143
expect(items[1].quality).toBe(0);
145-
expect(items[2].quality).toBe(0);
146-
expect(items[3].quality).toBe(1);
147-
expect(items[4].quality).toBe(0);
144+
expect(items[2].quality).toBe(1);
145+
expect(items[3].quality).toBe(0);
148146
});
149147

150148
it('"Conjured" items degrade in Quality twice as fast as normal items.', () => {

0 commit comments

Comments
 (0)