mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2026-02-15 14:31:28 +00:00
Fix name test
This commit is contained in:
parent
97a10998ae
commit
09d7cd7783
@ -13,7 +13,7 @@ describe('Shop', () => {
|
||||
item.name = 'foo';
|
||||
});
|
||||
it("keeps name the same", () => {
|
||||
items = gildedRose.updateQuality();
|
||||
const items = gildedRose.updateQuality();
|
||||
expect(items[0].name).toEqual('foo');
|
||||
});
|
||||
it('decreases sellIn by 1', () => {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user