mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-23 00:06:17 -04:00
add operation input case to chef.search
This commit is contained in:
parent
2ff7b5902c
commit
a4d7065e42
3 changed files with 29 additions and 6 deletions
|
@ -127,4 +127,10 @@ TestRegister.addApiTests([
|
|||
const result = chef.help("some invalid function name");
|
||||
assert.strictEqual(result, null);
|
||||
}),
|
||||
|
||||
it("chef.help: takes a wrapped operation as input", () => {
|
||||
const result = chef.help(chef.toBase32);
|
||||
assert.strictEqual(result.name, "toBase32");
|
||||
assert.strictEqual(result.module, "Default");
|
||||
})
|
||||
]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue