expectBundle.js 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. "use strict";
  2. var __defProp = Object.defineProperty;
  3. var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
  4. var __getOwnPropNames = Object.getOwnPropertyNames;
  5. var __hasOwnProp = Object.prototype.hasOwnProperty;
  6. var __export = (target, all) => {
  7. for (var name in all)
  8. __defProp(target, name, { get: all[name], enumerable: true });
  9. };
  10. var __copyProps = (to, from, except, desc) => {
  11. if (from && typeof from === "object" || typeof from === "function") {
  12. for (let key of __getOwnPropNames(from))
  13. if (!__hasOwnProp.call(to, key) && key !== except)
  14. __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
  15. }
  16. return to;
  17. };
  18. var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
  19. var expectBundle_exports = {};
  20. __export(expectBundle_exports, {
  21. EXPECTED_COLOR: () => EXPECTED_COLOR,
  22. INVERTED_COLOR: () => INVERTED_COLOR,
  23. RECEIVED_COLOR: () => RECEIVED_COLOR,
  24. asymmetricMatchers: () => asymmetricMatchers,
  25. expect: () => expect,
  26. matcherUtils: () => matcherUtils,
  27. mock: () => mock,
  28. printReceived: () => printReceived
  29. });
  30. module.exports = __toCommonJS(expectBundle_exports);
  31. const expect = require("./expectBundleImpl").expect;
  32. const mock = require("./expectBundleImpl").mock;
  33. const asymmetricMatchers = require("./expectBundleImpl").asymmetricMatchers;
  34. const matcherUtils = require("./expectBundleImpl").matcherUtils;
  35. const EXPECTED_COLOR = require("./expectBundleImpl").EXPECTED_COLOR;
  36. const INVERTED_COLOR = require("./expectBundleImpl").INVERTED_COLOR;
  37. const RECEIVED_COLOR = require("./expectBundleImpl").RECEIVED_COLOR;
  38. const printReceived = require("./expectBundleImpl").printReceived;
  39. // Annotate the CommonJS export names for ESM import in node:
  40. 0 && (module.exports = {
  41. EXPECTED_COLOR,
  42. INVERTED_COLOR,
  43. RECEIVED_COLOR,
  44. asymmetricMatchers,
  45. expect,
  46. matcherUtils,
  47. mock,
  48. printReceived
  49. });