You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TypeError: Cannot call method 'split' of undefined
at internals.Errors.add (joi/lib/errors.js:20:24)
at Array.1 (/joi/lib/types/number.js:113:20)
at Array.1 (/joi/lib/types/array.js:125:47)
at internals.BaseType.validate (/joi/lib/types/base.js:408:42)
at validateKeyConfig (/joi/lib/index.js:81:39)
at processConfig (/joi/lib/index.js:46:13)
at Object.exports.validate (/joi/lib/index.js:100:5)
at /joi/test/index.js:501:23
at Object._onImmediate (/joi/node_modules/lab/lib/execute.js:238:12)
at processImmediate [as _immediateCallback] (timers.js:330:15)
The text was updated successfully, but these errors were encountered:
the following test throws:
It happens with almost any variation of types with constraints in include (also for excludes)
another example that throws:
exception for the first case:
The text was updated successfully, but these errors were encountered: