import{newE2EPage}from"@stencil/core/testing";import{dispose as disposeCheckout}from"../../../../../store/checkout/index";describe("sc-order-shipping-address",(()=>{beforeEach((()=>{disposeCheckout()})),it("renders",(async()=>{const s=await newE2EPage();await s.setContent("<sc-order-shipping-address></sc-order-shipping-address>");const e=await s.find("sc-order-shipping-address");expect(e).toHaveClass("hydrated")})),it("uses default country if supplied",(async()=>{const s=await newE2EPage();await s.setContent('<sc-order-shipping-address default-country="BD"></sc-order-shipping-address>'),await s.waitForChanges();let e=await s.find("sc-order-shipping-address >>> sc-compact-address"),t=await e.getProperty("address");expect(t.country).toEqual("BD")}))}));