mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2026-10-13 17:49:25 +00:00
Splits JS Jasmine and Mocha starting points into separate toplevel folders similar to Java and Java-Spock.
This commit is contained in:
1 parent
027693ce83
commit
39b3534c6f
11 files changed
No files matched your search
@@ -0,0 +1,10 @@
|
||||
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).toEqual("fixme");
|
||||
});
|
||||
|
||||
});
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"spec_dir": "spec",
|
||||
"spec_files": [
|
||||
"**/*[sS]pec.js"
|
||||
],
|
||||
"helpers": [
|
||||
"helpers/**/*.js"
|
||||
],
|
||||
"stopSpecOnExpectationFailure": false,
|
||||
"random": true
|
||||
}
|
||||
Reference in new issue
Block a user