2
0
mirror of https://github.com/gchq/CyberChef synced 2025-12-10 13:23:25 +00:00

adding more tests

This commit is contained in:
d98762625
2018-08-14 12:03:10 +01:00
parent f100356078
commit 50c916216c
4 changed files with 162 additions and 15 deletions

View File

@@ -81,6 +81,10 @@ function transformArgs(originalArgs, newArgs) {
* @param input
*/
const ensureIsDish = function ensureIsDish(input) {
if (!input) {
return new SyncDish();
}
let dish;
if (input instanceof SyncDish) {
dish = input;