openclaw/src/config/markdown-tables.test.ts

17 lines
482 B
TypeScript

import { describe, expect, it } from "vitest";
import { DEFAULT_TABLE_MODES } from "./markdown-tables.js";
describe("DEFAULT_TABLE_MODES", () => {
it("mattermost mode is off", () => {
expect(DEFAULT_TABLE_MODES.get("mattermost")).toBe("off");
});
it("signal mode is bullets", () => {
expect(DEFAULT_TABLE_MODES.get("signal")).toBe("bullets");
});
it("whatsapp mode is bullets", () => {
expect(DEFAULT_TABLE_MODES.get("whatsapp")).toBe("bullets");
});
});