Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
traines-source committed Dec 18, 2024
1 parent 2a49495 commit e14a909
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/e2e/lib/validators.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ const createValidateRealtimeDataUpdatedAt = (cfg) => {
const createValidateProducts = (cfg) => {
const validateProducts = (val, p, name = 'products') => {
return; // TODO
a.ok(isObj(p), name + ' must be an object');
/*a.ok(isObj(p), name + ' must be an object');

Check failure on line 27 in test/e2e/lib/validators.js

View workflow job for this annotation

GitHub Actions / unit-tests (20.x)

Expected space or tab after '/*' in comment

Check failure on line 27 in test/e2e/lib/validators.js

View workflow job for this annotation

GitHub Actions / test / unit-tests (20.x)

Expected space or tab after '/*' in comment
for (let product of cfg.products) {
const msg = `${name}[${product.id}] must be a boolean`;
a.strictEqual(typeof p[product.id], 'boolean', msg);
}
}*/
};
return validateProducts;
};
Expand Down

0 comments on commit e14a909

Please sign in to comment.