mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2026-10-15 02:25:40 +00:00
Added GildedRose for TypeScript
This commit is contained in:
1 parent
e046dba763
commit
10346b66c8
6 files changed
+150
No files matched your search
@@ -0,0 +1,12 @@
|
||||
import { expect } from 'chai';
|
||||
import { Item, GildedRose } from '../app/gilded-rose';
|
||||
|
||||
describe('Gilded Rose', function () {
|
||||
|
||||
it('should foo', function() {
|
||||
const gilgedRose = new GildedRose([ new Item('foo', 0, 0) ]);
|
||||
const items = gilgedRose.updateQuality();
|
||||
expect(items[0].name).to.equal('fixme');
|
||||
});
|
||||
|
||||
});
|
||||
@@ -0,0 +1,4 @@
|
||||
--compilers ts-node/register
|
||||
--require source-map-support/register
|
||||
--recursive
|
||||
test/**/*.ts
|
||||
Reference in new issue
Block a user