renamed function for clarity

This commit is contained in:
CCarpo 2025-03-10 20:55:35 +01:00
parent 98ef5d0110
commit a809321b63
4 changed files with 9 additions and 11 deletions

View file

@ -166,12 +166,10 @@ import "./tests/CBORDecode.mjs";
import "./tests/JA3Fingerprint.mjs";
import "./tests/JA3SFingerprint.mjs";
import "./tests/HASSH.mjs";
import "./tests/BeautifyYAML.mjs";
import "./tests/JSONtoYAML.mjs";
// Cannot test operations that use the File type yet
// import "./tests/SplitColourChannels.mjs";
import "./tests/BeautifyYAML.mjs";
import "./tests/YARA.mjs";
import "./tests/ParseCSR.mjs";
import "./tests/XXTEA.mjs";

View file

@ -28,12 +28,12 @@ TestRegister.addTests([
],
},
{
name: "Beautify YAML",
name: "JSON to YAML",
input: EXAMPLE_JSON,
expectedOutput: `number: 3\nplain: string\n`,
recipeConfig: [
{
op: "Beautify YAML",
op: "JSON to YAML",
args: [],
}
],