mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2026-02-07 10:41:56 +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', () => {
|
||||
it('should foo', () => {
|
||||
const gildedRose = new GildedRose([new Item('foo', 0, 0)]);
|
||||
describe("Gilded Rose", () => {
|
||||
it("should foo", () => {
|
||||
const gildedRose = new GildedRose([new Item("foo", 0, 0)]);
|
||||
const items = gildedRose.updateQuality();
|
||||
expect(items[0].name).toBe('fixme');
|
||||
expect(items[0].name).toBe("foo");
|
||||
});
|
||||
});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user