Files
OmniRoute/tests/unit/small-vps-docs.test.ts
Diego Rodrigues de Sa e Souza 53c8016d53 docs: add small VPS memory optimization guide (#8237) (#9471)
Validated in local merge-train (diegosouzapw batch)
2026-08-06 10:38:57 -03:00

20 lines
794 B
TypeScript

import { describe, it } from "node:test";
import { ok } from "node:assert/strict";
import { readFileSync, existsSync } from "node:fs";
describe("Small VPS documentation (#8237)", () => {
it("VM_DEPLOYMENT_GUIDE.md exists", () => {
ok(existsSync("docs/ops/VM_DEPLOYMENT_GUIDE.md"));
});
it("ENVIRONMENT.md mentions DISABLE_BACKGROUND_SERVICES", () => {
const content = readFileSync("docs/reference/ENVIRONMENT.md", "utf-8");
ok(content.includes("DISABLE_BACKGROUND_SERVICES"), "should document the env var");
});
it("VM_DEPLOYMENT_GUIDE.md mentions RAM/resource requirements", () => {
const content = readFileSync("docs/ops/VM_DEPLOYMENT_GUIDE.md", "utf-8");
ok(content.includes("RAM") || content.includes("memory"), "should reference memory sizing");
});
});