import { dataHook } from "./../wix-rich-content-common/index.js";
import { TEXT_BUTTON_SPOILER } from "./data-hooks.js";
const createSpoilerTestkit = () => {
  return {
    content: {},
    toolbars: {
      createTextButtonToolbars: (getTextButtonBase) => {
        const getButton = async () => getTextButtonBase().get(dataHook(TEXT_BUTTON_SPOILER));
        return {
          click: async () => {
            const button = await getButton();
            await button.click();
          }
        };
      }
    }
  };
};
export {
  createSpoilerTestkit
};
//# sourceMappingURL=testkit.js.map
