mirror of
https://github.com/gchq/CyberChef
synced 2026-01-04 09:33:21 +00:00
add immutable presentAs method to Dish for node REPL display. add test for exact match help
This commit is contained in:
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);
|
||||
}),
|
||||
|
||||
]);
|
||||
Reference in New Issue
Block a user