mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-23 16:26:16 -04:00
add immutable presentAs method to Dish for node REPL display. add test for exact match help
This commit is contained in:
parent
8f5f3e56cb
commit
8eed2232ee
5 changed files with 55 additions and 11 deletions
12
tests/operations/Dish.mjs
Normal file
12
tests/operations/Dish.mjs
Normal file
|
@ -0,0 +1,12 @@
|
|||
import TestRegister from "../../lib/TestRegister";
|
||||
import Dish from "../../src/core/Dish";
|
||||
import it from "../node/assertionHandler";
|
||||
import assert from "assert";
|
||||
|
||||
TestRegister.addApiTests([
|
||||
it("Dish - presentAs: should exist", () => {
|
||||
const dish = new Dish();
|
||||
assert(dish.presentAs);
|
||||
}),
|
||||
|
||||
]);
|
Loading…
Add table
Add a link
Reference in a new issue