Track HiveGrid Cloud planning reference
This commit is contained in:
1 parent
b3d5ea6764
commit
e341c5938a
5784 files changed
+1104929
-3
No files matched your search
+17
@@ -0,0 +1,17 @@
|
||||
import fs from "node:fs";
|
||||
import path from "node:path";
|
||||
import { describe, expect, it } from "vitest";
|
||||
|
||||
const routeRoot = path.resolve(process.cwd(), "apps/web/app/routes/app.$tenant/settings");
|
||||
|
||||
function readRoute(relativePath: string) {
|
||||
return fs.readFileSync(path.join(routeRoot, relativePath), "utf8");
|
||||
}
|
||||
|
||||
describe("tenant settings audit log copy", () => {
|
||||
it("does not append stray braces to role names", () => {
|
||||
const sources = [readRoute("members.tsx"), readRoute("roles-and-permissions/users.tsx")].join("\n");
|
||||
|
||||
expect(sources).not.toContain("${role?.name}}");
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user