2
0
mirror of https://github.com/gchq/CyberChef synced 2026-02-27 10:03:16 +00:00

add dish translation tests for node

This commit is contained in:
d98762625
2019-04-29 17:09:01 +01:00
parent aeb08caf77
commit 65a3897f87
7 changed files with 147 additions and 24 deletions

View File

@@ -15,9 +15,8 @@ import it from "../assertionHandler";
import chef from "../../../src/node/index";
import OperationError from "../../../src/core/errors/OperationError";
import NodeDish from "../../../src/node/NodeDish";
import fs from "fs";
import { toBase32, Dish, SHA3 } from "../../../src/node/index";
import { toBase32} from "../../../src/node/index";
import TestRegister from "../../lib/TestRegister";
TestRegister.addApiTests([
@@ -325,8 +324,6 @@ TestRegister.addApiTests([
assert.strictEqual(result.toString(), "begin_something_anananaaaaak_da_aaak_da_aaaaananaaaaaaan_da_aaaaaaanan_da_aaak_end_something");
}),
it("Excluded operations: throw a sensible error when you try and call one", () => {
try {
chef.fork();