import{newSpecPage}from"@stencil/core/testing";import{ScQuantitySelect}from"../sc-quantity-select";describe("sc-quantity-select",(()=>{it("renders",(async()=>{const t=await newSpecPage({components:[ScQuantitySelect],html:"<sc-quantity-select></sc-quantity-select>"});expect(t.root).toMatchSnapshot()})),it("renders disabled increment if max matches quantity",(async()=>{const t=await newSpecPage({components:[ScQuantitySelect],html:'<sc-quantity-select max="2" quantity="2"></sc-quantity-select>'});expect(t.root).toMatchSnapshot()})),it("renders disabled decrement if min is greater than 1",(async()=>{const t=await newSpecPage({components:[ScQuantitySelect],html:'<sc-quantity-select min="2" max="3" quantity="2"></sc-quantity-select>'});expect(t.root).toMatchSnapshot()}))}));