mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-23 16:26:16 -04:00
Make help function use OperationConfig.json file
Tidy up Gruntfile execs
This commit is contained in:
parent
db7b52d84c
commit
fa8736b1a4
8 changed files with 1396 additions and 165 deletions
|
@ -115,7 +115,7 @@ TestRegister.addApiTests([
|
|||
|
||||
it("chef.help: should describe a operation", () => {
|
||||
const result = chef.help("tripleDESDecrypt");
|
||||
assert.strictEqual(result.name, "tripleDESDecrypt");
|
||||
assert.strictEqual(result.name, "Triple DES Decrypt");
|
||||
assert.strictEqual(result.module, "Ciphers");
|
||||
assert.strictEqual(result.inputType, "string");
|
||||
assert.strictEqual(result.outputType, "string");
|
||||
|
@ -130,7 +130,7 @@ TestRegister.addApiTests([
|
|||
|
||||
it("chef.help: takes a wrapped operation as input", () => {
|
||||
const result = chef.help(chef.toBase32);
|
||||
assert.strictEqual(result.name, "toBase32");
|
||||
assert.strictEqual(result.name, "To Base32");
|
||||
assert.strictEqual(result.module, "Default");
|
||||
})
|
||||
]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue