import { describe } from "vitest";
import { RecordingTracer } from "@repo/core-testing/instrumentation";
import { MockUsersRepository } from "@/infrastructure/repositories/users.repository.mock";
import { usersRepositoryContract } from "@/__contracts__/users-repository.contract";

describe("MockUsersRepository", () => {
  const tracer = new RecordingTracer();
  // Start with empty store so contract tests run from a clean slate.
  usersRepositoryContract.run(
    () => new MockUsersRepository([], tracer),
    { tracer: () => tracer },
  );
});
