"use strict";
const toBeEmpty$1 = require("../../../../_virtual/to-be-empty.cjs");
require("./utils.cjs");
const utils = require("../../../../_virtual/utils.cjs");
Object.defineProperty(toBeEmpty$1.__exports, "__esModule", {
  value: true
});
toBeEmpty$1.__exports.toBeEmpty = toBeEmpty;
var _utils = utils.__exports;
function toBeEmpty(element) {
  (0, _utils.deprecate)("toBeEmpty", "Please use instead toBeEmptyDOMElement for finding empty nodes in the DOM.");
  (0, _utils.checkHtmlElement)(element, toBeEmpty, this);
  return {
    pass: element.innerHTML === "",
    message: () => {
      return [this.utils.matcherHint(`${this.isNot ? ".not" : ""}.toBeEmpty`, "element", ""), "", "Received:", `  ${this.utils.printReceived(element.innerHTML)}`].join("\n");
    }
  };
}
module.exports = toBeEmpty$1.__exports;
//# sourceMappingURL=to-be-empty.cjs.map
