import { expect, it } from "vitest"; import Progress from "../../components/Progress/Progress"; import { renderWithProvider } from "../../testHelpers"; it("renders correctly", () => { const { asFragment } = renderWithProvider(); expect(asFragment()).toMatchInlineSnapshot(` .c2 { position: absolute; top: 0; left: 0; background: var(--colors-secondary); height: 100%; transition: width 200ms ease; } .c0 { position: relative; background-color: var(--colors-input); box-shadow: var(--shadows-inset); overflow: hidden; border-radius: var(--radii-32px); height: 16px; } .c0 .c1 { border-top-left-radius: 32px; border-bottom-left-radius: 32px; }
`); });