fix(housekeeping): retain admin banner shim
This commit is contained in:
1 parent
08358b8aa4
commit
b70bd401d1
2 files changed
+14
-1
No files matched your search
@@ -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"');
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user