mirror of
https://github.com/gchq/CyberChef
synced 2026-01-19 17:04:00 +00:00
Renamed JSON to Yaml to Beautify JSON
This commit is contained in:
@@ -107,7 +107,7 @@ import "./tests/CBORDecode.mjs";
|
||||
import "./tests/JA3Fingerprint.mjs";
|
||||
import "./tests/JA3SFingerprint.mjs";
|
||||
import "./tests/HASSH.mjs";
|
||||
import "./tests/YAML.mjs";
|
||||
import "./tests/BeautifyYAML.mjs";
|
||||
|
||||
|
||||
// Cannot test operations that use the File type yet
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
*
|
||||
* @author ccarpo [ccarpo@gmx.net]
|
||||
*
|
||||
* @copyright Crown Copyright 2018
|
||||
* @copyright Crown Copyright 2021
|
||||
* @license Apache-2.0
|
||||
*/
|
||||
import TestRegister from "../../lib/TestRegister.mjs";
|
||||
@@ -29,12 +29,12 @@ TestRegister.addTests([
|
||||
],
|
||||
},
|
||||
{
|
||||
name: "JSON to YAML",
|
||||
name: "Beautify YAML",
|
||||
input: EXAMPLE_JSON,
|
||||
expectedOutput: `number: 3\nplain: string\n`,
|
||||
recipeConfig: [
|
||||
{
|
||||
op: "JSON to YAML",
|
||||
op: "Beautify YAML",
|
||||
args: [],
|
||||
}
|
||||
],
|
||||
Reference in New Issue
Block a user