mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2025-12-12 04:12:13 +00:00
11 lines
284 B
JavaScript
11 lines
284 B
JavaScript
var {Shop, Item} = require('../src/gilded_rose.js');
|
|
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).toEqual("fixme");
|
|
});
|
|
|
|
});
|