mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2026-02-15 14:31:28 +00:00
10 lines
275 B
JavaScript
10 lines
275 B
JavaScript
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')
|
|
})
|
|
})
|