Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | 8x 8x 854x 1030x 8x 8x | const illegalKeyName = ({key, option}) => ({ code: 'IllegalKeyName', msg: 'An option key had an illegal name.', info: {key, option} }) const invalidDefaultValues = ({defaultValues, option}) => ({ code: 'InvalidDefaultValues', msg: "An option's defaultValues field has an invalid type. It must be an array with any values in it.", info: {defaultValues, option} }) const invalidOptionsListInCombine = ({options, arg, argument}) => ({ code: 'InvalidOptionsListInCombine', msg: 'Options list in combine was undefined, null or empty.', info: {options, arg, argument} }) const invalidTypes = ({types, option}) => ({ code: 'InvalidTypes', msg: 'Each argument must have a types key that must be null or an array.', info: {types, option} }) const nonMatchingArgumentTypes = ({arg, ref, option}) => ({ code: 'NonMatchingArgumentTypes', msg: 'If arguments have the same arg, their types must either be equal or have the same length.', info: {arg, ref, option} }) module.exports = { illegalKeyName, invalidDefaultValues, invalidOptionsListInCombine, invalidTypes, nonMatchingArgumentTypes } |