Refresh HiveGrid Cloud reference snapshot
This commit is contained in:
1 parent
5e99e14772
commit
7f88026f79
5955 files changed
+1177325
-188362
No files matched your search
+18
@@ -0,0 +1,18 @@
|
||||
// @vitest-environment node
|
||||
import fs from "node:fs";
|
||||
import path from "node:path";
|
||||
import { describe, expect, it } from "vitest";
|
||||
|
||||
function routeSource(name: string): string {
|
||||
return fs.readFileSync(path.resolve(process.cwd(), `apps/web/app/routes/${name}`), "utf8");
|
||||
}
|
||||
|
||||
describe("settings UI contracts", () => {
|
||||
it("enables the sticky inner sidebar only on the settings shell", () => {
|
||||
expect(routeSource("app.$tenant/settings.tsx")).toContain("<SidebarIconsLayout label={{ align: \"right\" }} items={getTabs()} sticky>");
|
||||
});
|
||||
|
||||
it("keeps breathing room below the workspace deletion area", () => {
|
||||
expect(routeSource("app.$tenant/settings/workspace/index.tsx")).toContain('<EditPageLayout fullWidth className="pb-8">');
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user