mirror of
https://github.com/gchq/CyberChef
synced 2026-01-06 18:43:23 +00:00
Updated dependencies and linter
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user