import { describe } from "vitest";
import { RecordingTracer } from "@repo/core-testing/instrumentation";
import { MockArticlesRepository } from "@/infrastructure/repositories/articles.repository.mock";
import { articlesRepositoryContract } from "@/__contracts__/articles-repository.contract";

describe("MockArticlesRepository", () => {
  const tracer = new RecordingTracer();
  articlesRepositoryContract.run(
    () => new MockArticlesRepository(tracer),
    { tracer: () => tracer },
  );
});
