Initial commit

This commit is contained in:
fraqtal
2026-07-12 08:15:46 +00:00
commit ee0fec0691
1397 changed files with 127242 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
import "reflect-metadata";
import { describe, expect, it } from "vitest";
import type { SanitizedConfig } from "payload";
import { NoopTracer, NoopLogger } from "@repo/core-shared/instrumentation";
import { bindProductionMedia } from "@/di/bind-production";
describe("bindProductionMedia — boot-time conformance", () => {
it("binds every manifest use case through withSpan + withCapture", () => {
expect(() =>
bindProductionMedia({
config: {} as SanitizedConfig,
tracer: new NoopTracer(),
logger: new NoopLogger(),
}),
).not.toThrow();
});
});