Files
openclaw/src/config/markdown-tables.test.ts
Echo bda63c3c7f fix(mattermost): preserve markdown formatting and native tables (#18655)
Merged via squash.

Prepared head SHA: d30fff1776
Co-authored-by: echo931 <259437483+echo931@users.noreply.github.com>
Co-authored-by: mukhtharcm <56378562+mukhtharcm@users.noreply.github.com>
Reviewed-by: @mukhtharcm
2026-03-10 17:40:01 +05:30

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");
});
});