mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 08:10:44 +00:00
fix: point minimax live docs test at split guide
This commit is contained in:
@@ -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", () => {
|
||||
|
||||
Reference in New Issue
Block a user