Updated dependencies and linter

This commit is contained in:
n1474335 committed 2019-07-05 12:22:52 +01:00
1 parent 4f70a79638
commit 5eb3979504
23 files changed
+383 -263

No files matched your search

+1 -1
View File
@@ -66,7 +66,7 @@ import Chef from "../../src/core/Chef";
ret.output = "Expected an error but did not receive one.";
} else if (result.result === test.expectedOutput) {
ret.status = "passing";
} else if (test.hasOwnProperty("expectedMatch") && test.expectedMatch.test(result.result)) {
} else if ("expectedMatch" in test && test.expectedMatch.test(result.result)) {
ret.status = "passing";
} else {
ret.status = "failing";