mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-27 02:06:15 -04:00
Added test to ensure all operations are in a category. Added various operations to categories.
This commit is contained in:
parent
b28a891a40
commit
4d1f970105
5 changed files with 39 additions and 10 deletions
12
tests/node/tests/Dish.mjs
Normal file
12
tests/node/tests/Dish.mjs
Normal file
|
@ -0,0 +1,12 @@
|
|||
import TestRegister from "../../lib/TestRegister.mjs";
|
||||
import Dish from "../../../src/core/Dish.mjs";
|
||||
import it from "../../node/assertionHandler.mjs";
|
||||
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