mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2026-02-16 15:01:28 +00:00
fix test
This commit is contained in:
parent
878f2da3aa
commit
fcdbd79e23
@ -1,9 +1,9 @@
|
|||||||
import { Item, GildedRose } from '@/gilded-rose';
|
import { Item, GildedRose } from "@/gilded-rose";
|
||||||
|
|
||||||
describe('Gilded Rose', () => {
|
describe("Gilded Rose", () => {
|
||||||
it('should foo', () => {
|
it("should foo", () => {
|
||||||
const gildedRose = new GildedRose([new Item('foo', 0, 0)]);
|
const gildedRose = new GildedRose([new Item("foo", 0, 0)]);
|
||||||
const items = gildedRose.updateQuality();
|
const items = gildedRose.updateQuality();
|
||||||
expect(items[0].name).toBe('fixme');
|
expect(items[0].name).toBe("foo");
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
@ -1,10 +1,10 @@
|
|||||||
import { expect } from 'chai';
|
import { expect } from "chai";
|
||||||
import { Item, GildedRose } from '@/gilded-rose';
|
import { Item, GildedRose } from "@/gilded-rose";
|
||||||
|
|
||||||
describe('Gilded Rose', () => {
|
describe("Gilded Rose", () => {
|
||||||
it('should foo', () => {
|
it("should foo", () => {
|
||||||
const gildedRose = new GildedRose([new Item('foo', 0, 0)]);
|
const gildedRose = new GildedRose([new Item("foo", 0, 0)]);
|
||||||
const items = gildedRose.updateQuality();
|
const items = gildedRose.updateQuality();
|
||||||
expect(items[0].name).to.equal('fixme');
|
expect(items[0].name).to.equal("foo");
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user