mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2025-12-12 04:12:13 +00:00
12 lines
389 B
TypeScript
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");
|
|
});
|
|
});
|