import type { Assertion, AsymmetricMatchersContaining } from "vitest"; import { TestActivityDay } from "../src/ts/elements/test-activity-calendar"; interface ActivityDayMatchers { toBeDate: (date: string) => ActivityDayMatchers; toHaveTests: (tests: number) => ActivityDayMatchers; toHaveLevel: (level?: string | number) => ActivityDayMatchers; toBeFiller: () => ActivityDayMatchers; } /// import "@testing-library/jest-dom"; declare module "vitest" { interface Assertion extends ActivityDayMatchers {} interface AsymmetricMatchersContaining extends ActivityDayMatchers {} } interface MatcherResult { pass: boolean; message: () => string; actual?: unknown; expected?: unknown; }