Skip to content

Open-source Grok Bot alternative with a virtual machine that bots can use

Doctor test: indent the Vault files case

milind-sonid666b3ba523c
diff --git a/server/doctor/checks/secret-modes.test.ts b/server/doctor/checks/secret-modes.test.ts
index f3eabc856d..9226a5655a 100644
--- a/server/doctor/checks/secret-modes.test.ts
+++ b/server/doctor/checks/secret-modes.test.ts
@@ -24,7 +24,7 @@ describe.skipIf(process.platform === "win32")("secret-modes check", () => {
expect(readdirSync(backup)).toEqual(["manifest.json"]);
expect(manifest(backup).entries).toEqual([{ check: "secret-modes", action: "made owner-only (0600); the old mode is here", path: join(data, "config.json"), mode: "0644" }]);
});
-it("covers the Vault's own key and blobs, and mcp-oauth.json, not only the settings files", () => {
+ it("covers the Vault's own key and blobs, and mcp-oauth.json, not only the settings files", () => {
const data = dataFolder();
const names = [LOGINS_KEY_FILE, LOGINS_FILE, MEMBER_SECRETS_FILE, "mcp-oauth.json"];
for (const name of names) writeFileSync(join(data, name), "x");