Skip to content

Commit

Permalink
test: removed field defaults to increase test coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
naz committed Nov 30, 2020
1 parent 9e7f890 commit 58680ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/job-validator.js
Expand Up @@ -195,7 +195,7 @@ const validateJobName = (job, i, reservedNames) => {
return errors;
};

const validate = (job, i, names = [], config = {}) => {
const validate = (job, i, names, config) => {
const errors = validateJobName(job, i, names);

if (errors.length > 0) throw combineErrors(errors);
Expand Down

0 comments on commit 58680ca

Please sign in to comment.