This commit is contained in:
Thomas Grainger 2017-05-06 14:02:17 +00:00 committed by GitHub
commit 5cd47addfb
15 changed files with 165 additions and 163 deletions

View file

@ -38,7 +38,7 @@ import Chef from "../src/core/Chef.js";
TestRegister.prototype.runTests = function() {
return Promise.all(
this.tests.map(function(test, i) {
let chef = new Chef();
const chef = new Chef();
return chef.bake(
test.input,
@ -48,7 +48,7 @@ import Chef from "../src/core/Chef.js";
false
)
.then(function(result) {
let ret = {
const ret = {
test: test,
status: null,
output: null,