mirror of
https://github.com/gchq/CyberChef
synced 2026-01-02 00:23:55 +00:00
add operation input case to chef.search
This commit is contained in:
@@ -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");
|
||||
})
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user