2
0
mirror of https://github.com/gchq/CyberChef synced 2026-02-27 10:03:16 +00:00

improve some comments, remove unused properties from magic state shim in node API

This commit is contained in:
d98762625
2020-06-12 12:35:33 +01:00
parent 53e69835ff
commit 4dafa50799
4 changed files with 16 additions and 15 deletions

View File

@@ -348,15 +348,15 @@ TestRegister.addApiTests([
it("chef.bake: cannot accept flowControl operations in recipe", () => {
assert.throws(() => chef.bake("some input", "magic"), {
name: "TypeError",
message: "flowControl operations like Magic are not currently allowed in recipes for chef.bake"
message: "flowControl operations like Magic are not currently allowed in recipes for chef.bake in the Node API"
});
assert.throws(() => chef.bake("some input", magic), {
name: "TypeError",
message: "flowControl operations like Magic are not currently allowed in recipes for chef.bake"
message: "flowControl operations like Magic are not currently allowed in recipes for chef.bake in the Node API"
});
assert.throws(() => chef.bake("some input", ["to base 64", "magic"]), {
name: "TypeError",
message: "flowControl operations like Magic are not currently allowed in recipes for chef.bake"
message: "flowControl operations like Magic are not currently allowed in recipes for chef.bake in the Node API"
});
}),