GildedRose-Refactoring-Kata/deno/test/gilded-rose_test.ts
2025-01-22 18:36:51 +01:00

12 lines
389 B
TypeScript

import { describe, it } from "jsr:@std/testing/bdd";
import { expect } from "jsr:@std/expect";
import { GildedRose, Item } from "../app/gilded-rose.ts";
describe("Gilded Rose specifications", () => {
it("should foo", () => {
const gildedRose = new GildedRose([new Item("foo", 0, 0)]);
const items = gildedRose.updateQuality();
expect(items[0].name).toBe("fixme");
});
});