mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2026-02-07 18:52:19 +00:00
tests: add tests for Aged Brie incrementa la calida test case
This commit is contained in:
parent
7918e7c928
commit
a8c2277592
@ -1,9 +1,19 @@
|
||||
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)]);
|
||||
const items = gildedRose.updateQuality();
|
||||
expect(items[0].name).toBe('fixme');
|
||||
describe("GildedRose", () => {
|
||||
describe("updateQuality", () => {
|
||||
describe("Aged Brie", () => {
|
||||
it("should increase quality when updateQuality is called", () => {
|
||||
// Test code here
|
||||
});
|
||||
|
||||
it("should not increase quality above 50", () => {
|
||||
// Test code here
|
||||
});
|
||||
|
||||
it("should increase quality by 2 after sellIn date has passed", () => {
|
||||
// Test code here
|
||||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user