import { expect } from "vitest"; import { toMatchImageSnapshot } from "jest-image-snapshot"; declare module "vitest" { interface Assertion { toMatchImageSnapshot: () => T; } } expect.extend({ toMatchImageSnapshot });