constants.js 862 B

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