constants.js 866 B

12345678910111213141516171819202122232425262728293031
  1. 'use strict';
  2. Object.defineProperty(exports, '__esModule', {
  3. value: true
  4. });
  5. exports.SIMILAR_MESSAGE = exports.NO_DIFF_MESSAGE = void 0;
  6. var _chalk = _interopRequireDefault(require('chalk'));
  7. function _interopRequireDefault(obj) {
  8. return obj && obj.__esModule ? obj : {default: obj};
  9. }
  10. /**
  11. * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
  12. *
  13. * This source code is licensed under the MIT license found in the
  14. * LICENSE file in the root directory of this source tree.
  15. */
  16. const NO_DIFF_MESSAGE = _chalk.default.dim(
  17. 'Compared values have no visual difference.'
  18. );
  19. exports.NO_DIFF_MESSAGE = NO_DIFF_MESSAGE;
  20. const SIMILAR_MESSAGE = _chalk.default.dim(
  21. 'Compared values serialize to the same structure.\n' +
  22. 'Printing internal object structure without calling `toJSON` instead.'
  23. );
  24. exports.SIMILAR_MESSAGE = SIMILAR_MESSAGE;