constants.js 643 B

12345678910111213141516171819
  1. 'use strict';
  2. Object.defineProperty(exports, '__esModule', {
  3. value: true
  4. });
  5. exports.SIMILAR_MESSAGE = exports.NO_DIFF_MESSAGE = void 0;
  6. /**
  7. * Copyright (c) Meta Platforms, Inc. and affiliates.
  8. *
  9. * This source code is licensed under the MIT license found in the
  10. * LICENSE file in the root directory of this source tree.
  11. */
  12. const NO_DIFF_MESSAGE = 'Compared values have no visual difference.';
  13. exports.NO_DIFF_MESSAGE = NO_DIFF_MESSAGE;
  14. const SIMILAR_MESSAGE =
  15. 'Compared values serialize to the same structure.\n' +
  16. 'Printing internal object structure without calling `toJSON` instead.';
  17. exports.SIMILAR_MESSAGE = SIMILAR_MESSAGE;