"use strict";

exports.__esModule = true;
exports.ReferenceViewUniDriver = ReferenceViewUniDriver;
var _unidriver = require("../../../../unidriver");
function ReferenceViewUniDriver(base, _body) {
  return {
    ...(0, _unidriver.baseUniDriverFactory)(base),
    isEmpty: async () => !(await base.$('[data-hook="reference-view"]').exists()),
    getName: () => base.$('[data-hook="reference-view"]').text(),
    hasAvatar: () => base.$('[data-hook="reference-view"] [data-hook="avatar"]').exists()
  };
}
//# sourceMappingURL=View.uni.driver.js.map