{"version":3,"file":"UApp.spec.mjs","names":["UApp","describe","it","expect","mount","wrapper","html","toMatchSnapshot"],"sources":["../../../src/components/UApp/UApp.spec.ts"],"sourcesContent":["import { UApp } from './UApp'\nimport { describe, it, expect } from 'vitest'\nimport { mount } from '@vue/test-utils'\n\ndescribe('UApp', () => {\n  //a test case to check if the tooltip renders correctly\n  it('should render correctly', () => {\n    const wrapper = mount(UApp)\n    expect(wrapper.html()).toMatchSnapshot()\n  })\n\n  //a test to check if the tooltip is visible when the mouse is over the element\n  // it('should show tooltip when mouse is over the element', async () => {\n  //   const wrapper = mount(UTooltip, {\n  //     props: {\n  //       position: 'top',\n  //       always: false,\n  //     },\n  //     slots: {\n  //       tooltipToggle: { template: `<div class=\"toggle\">Toggle</div>` },\n  //       text: 'Tooltip Text',\n  //     },\n  //   })\n  //   const tooltipToggle = wrapper.find('.toggle')\n  //   await tooltipToggle.trigger('mouseenter')\n  //   const tooltipComponent = wrapper.find('.tooltip')\n  //   expect(tooltipComponent.exists()).toBe(true)\n  //   expect(tooltipComponent.isVisible()).toBe(true)\n  //   await tooltipToggle.trigger('mouseleave')\n  //   expect(tooltipComponent.isVisible()).toBe(false)\n  // })\n})\n"],"mappings":"SAASA,IAAI;AACb,SAASC,QAAQ,EAAEC,EAAE,EAAEC,MAAM,QAAQ,QAAQ;AAC7C,SAASC,KAAK,QAAQ,iBAAiB;AAEvCH,QAAQ,CAAC,MAAM,EAAE,YAAM;EACrB;EACAC,EAAE,CAAC,yBAAyB,EAAE,YAAM;IAClC,IAAMG,OAAO,GAAGD,KAAK,CAACJ,IAAI,CAAC;IAC3BG,MAAM,CAACE,OAAO,CAACC,IAAI,CAAC,CAAC,CAAC,CAACC,eAAe,CAAC,CAAC;EAC1C,CAAC,CAAC;;EAEF;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;AACF,CAAC,CAAC"}