| | |
| | | Object.defineProperty(exports, '__esModule', { |
| | | value: true |
| | | }); |
| | | exports.default = validateCLIOptions; |
| | | exports.DOCUMENTATION_NOTE = void 0; |
| | | exports.default = validateCLIOptions; |
| | | |
| | | function _camelcase() { |
| | | const data = _interopRequireDefault(require('camelcase')); |
| | |
| | | let message; |
| | | const comment = |
| | | ` ${_chalk().default.bold('CLI Options Documentation')}:\n` + |
| | | ` https://jestjs.io/docs/cli\n`; |
| | | ' https://jestjs.io/docs/cli\n'; |
| | | |
| | | if (unrecognizedOptions.length === 1) { |
| | | const unrecognized = unrecognizedOptions[0]; |
| | |
| | | } else { |
| | | title += 's'; |
| | | message = |
| | | ` Following options were not recognized:\n` + |
| | | ' Following options were not recognized:\n' + |
| | | ` ${_chalk().default.bold((0, _utils.format)(unrecognizedOptions))}`; |
| | | } |
| | | |