import { expect, it } from "vitest"; import NotificationDot from "../../components/NotificationDot/NotificationDot"; import { renderWithProvider } from "../../testHelpers"; it("renders correctly", () => { const { asFragment } = renderWithProvider(
); expect(asFragment()).toMatchInlineSnapshot(` .c0 { display: inline-flex; width: fit-content; position: relative; } .c1 { display: none; position: absolute; top: 0; right: 0; width: 10px; height: 10px; pointer-events: none; border: 2px solid var(--colors-invertedContrast); border-radius: 50%; background-color: var(--colors-failure); }
`); });