mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-23 16:26:16 -04:00
Renamed JSON to Yaml to Beautify JSON
This commit is contained in:
parent
23763363ba
commit
7353315baa
5 changed files with 12 additions and 12 deletions
|
@ -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: [],
|
||||
}
|
||||
],
|
Loading…
Add table
Add a link
Reference in a new issue