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;