feat(housekeeping): cut over administration to ase
This commit is contained in:
@@ -33,12 +33,11 @@ describe("admin content module port", () => {
|
||||
}
|
||||
});
|
||||
|
||||
it("provides locale-free routes and matching server actions", () => {
|
||||
for (const module of ["events", "polls", "banners", "prefixes"]) {
|
||||
expect(existsSync(resolve(`src/app/admin/${module}/page.tsx`))).toBe(
|
||||
true,
|
||||
);
|
||||
it("retains public server actions after the ASE route cutover", () => {
|
||||
for (const module of ["events", "polls"]) {
|
||||
expect(existsSync(resolve(`src/actions/${module}.ts`))).toBe(true);
|
||||
}
|
||||
expect(existsSync(resolve("src/app/admin"))).toBe(false);
|
||||
expect(existsSync(resolve("src/app/ase/layout.tsx"))).toBe(true);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user