mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2025-12-12 12:22:12 +00:00
11 lines
306 B
TypeScript
11 lines
306 B
TypeScript
import { expect } from 'chai';
|
|
import { Item, GildedRose } from '@/gilded-rose';
|
|
|
|
describe('Gilded Rose', () => {
|
|
it('should foo', () => {
|
|
const gildedRose = new GildedRose([new Item('foo', 0, 0)]);
|
|
const items = gildedRose.updateQuality();
|
|
expect(items[0].name).to.equal('fixme');
|
|
});
|
|
});
|