import{newSpecPage}from"@stencil/core/testing";import{ScDropdown}from"../dropdown";describe("sc-dropdown",(()=>{it("renders",(async()=>{const o=await newSpecPage({components:[ScDropdown],html:"<sc-dropdown></sc-dropdown>"});expect(o.root).toMatchSnapshot()})),it("can be positioned",(async()=>{const o=await newSpecPage({components:[ScDropdown],html:"<sc-dropdown></sc-dropdown>"}),t=await o.doc.querySelector("sc-dropdown");t.position="top-left",await o.waitForChanges(),expect(o.root).toMatchSnapshot(),t.position="top-right",await o.waitForChanges(),expect(o.root).toMatchSnapshot(),t.position="bottom-left",await o.waitForChanges(),expect(o.root).toMatchSnapshot(),t.position="bottom-right",await o.waitForChanges(),expect(o.root).toMatchSnapshot()}))}));