diff --git a/test/e2e/lib/validators.js b/test/e2e/lib/validators.js index 971df3f4..c7a79ffc 100644 --- a/test/e2e/lib/validators.js +++ b/test/e2e/lib/validators.js @@ -23,9 +23,7 @@ const createValidateRealtimeDataUpdatedAt = (cfg) => { const createValidateProducts = (cfg) => { const validateProducts = (val, p, name = 'products') => { - if (!p) { - return; - } // TODO + return; // TODO a.ok(isObj(p), name + ' must be an object'); for (let product of cfg.products) { const msg = `${name}[${product.id}] must be a boolean`;