mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2026-02-11 04:31:21 +00:00
fix failing unit test
fix the failing unit test for gilded-rose.spec.ts
This commit is contained in:
parent
469544bd82
commit
0dd072b9ac
@ -1,9 +1,9 @@
|
|||||||
import { Item, GildedRose } from '@/gilded-rose';
|
import { Item, GildedRose } from "@/gilded-rose";
|
||||||
|
|
||||||
describe('Gilded Rose', () => {
|
describe("Gilded Rose", () => {
|
||||||
it('should foo', () => {
|
it("should foo", () => {
|
||||||
const gildedRose = new GildedRose([new Item('foo', 0, 0)]);
|
const gildedRose = new GildedRose([new Item("foo", 0, 0)]);
|
||||||
const items = gildedRose.updateQuality();
|
const items = gildedRose.updateQuality();
|
||||||
expect(items[0].name).toBe('fixme');
|
expect(items[0].name).toBe("foo");
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user