mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2026-10-13 17:49:25 +00:00
Add Gilded Rose kata for JavaScript with Jest
This commit is contained in:
1 parent
fc0f14803a
commit
527e20ebc5
6 files changed
+5015
No files matched your search
@@ -0,0 +1,9 @@
|
||||
const {Shop, Item} = require("../src/gilded_rose");
|
||||
|
||||
describe("Gilded Rose", function() {
|
||||
it("should foo", function() {
|
||||
const gildedRose = new Shop([new Item("foo", 0, 0)]);
|
||||
const items = gildedRose.updateQuality();
|
||||
expect(items[0].name).toBe("fixme");
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user