specialChars.js 684 B

12345678910111213141516171819202122232425
  1. 'use strict';
  2. Object.defineProperty(exports, '__esModule', {
  3. value: true
  4. });
  5. exports.ICONS = exports.CLEAR = exports.ARROW = 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 isWindows = process.platform === 'win32';
  13. const ARROW = ' \u203A ';
  14. exports.ARROW = ARROW;
  15. const ICONS = {
  16. failed: isWindows ? '\u00D7' : '\u2715',
  17. pending: '\u25CB',
  18. success: isWindows ? '\u221A' : '\u2713',
  19. todo: '\u270E'
  20. };
  21. exports.ICONS = ICONS;
  22. const CLEAR = isWindows ? '\x1B[2J\x1B[0f' : '\x1B[2J\x1B[3J\x1B[H';
  23. exports.CLEAR = CLEAR;