fix: point minimax live docs test at split guide

This commit is contained in:
Peter Steinberger
2026-04-24 03:55:06 +01:00
parent c6684af682
commit 47372a5567

View File

@@ -8,14 +8,14 @@ import {
} from "../plugin-sdk/minimax.js";
const repoRoot = path.resolve(import.meta.dirname, "../..");
const testingDoc = fs.readFileSync(path.join(repoRoot, "docs/help/testing.md"), "utf8");
const testingLiveDoc = fs.readFileSync(path.join(repoRoot, "docs/help/testing-live.md"), "utf8");
const faqDoc = fs.readFileSync(path.join(repoRoot, "docs/help/faq.md"), "utf8");
const minimaxDoc = fs.readFileSync(path.join(repoRoot, "docs/providers/minimax.md"), "utf8");
describe("MiniMax docs sync", () => {
it("keeps the live-testing guide on the current MiniMax default", () => {
expect(testingDoc).toContain("MiniMax M2.7");
expect(testingDoc).toContain(MINIMAX_DEFAULT_MODEL_REF);
expect(testingLiveDoc).toContain("MiniMax M2.7");
expect(testingLiveDoc).toContain(MINIMAX_DEFAULT_MODEL_REF);
});
it("keeps the FAQ troubleshooting model ids aligned", () => {