Splits JS Jasmine and Mocha starting points into separate toplevel folders similar to Java and Java-Spock.

This commit is contained in:
Peter Kofler committed 2018-12-02 20:59:38 +01:00
1 parent 027693ce83
commit 39b3534c6f
11 files changed

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
var {expect} = require('chai');
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).to.equal("fixme");
});
});