fix(housekeeping): retain admin banner shim

This commit is contained in:
simoleo89
2026-08-30 12:11:14 +02:00
parent 08358b8aa4
commit b70bd401d1
2 changed files with 14 additions and 1 deletions
@@ -335,4 +335,13 @@ describe("Content legacy wrappers", () => {
).toBe(true);
}
});
it("routes the real banner manager through the required compatibility action", () => {
const source = readFileSync(
"src/app/admin/banners/banners-manager.tsx",
"utf8",
);
expect(source).toContain('from "@/actions/admin-banners"');
expect(source).not.toContain('from "@/actions/banners"');
});
});