refactor!: rename chat providers to channels

This commit is contained in:
Peter Steinberger
2026-01-13 06:16:43 +00:00
parent 0cd632ba84
commit 90342a4f3a
393 changed files with 8004 additions and 6737 deletions

View File

@@ -0,0 +1,15 @@
import { describe, expect, it } from "vitest";
import * as mod from "./channel-web.js";
describe("channel-web barrel", () => {
it("exports the expected web helpers", () => {
expect(mod.createWaSocket).toBeTypeOf("function");
expect(mod.loginWeb).toBeTypeOf("function");
expect(mod.monitorWebChannel).toBeTypeOf("function");
expect(mod.sendMessageWhatsApp).toBeTypeOf("function");
expect(mod.monitorWebInbox).toBeTypeOf("function");
expect(mod.pickWebChannel).toBeTypeOf("function");
expect(mod.WA_WEB_AUTH_DIR).toBeTruthy();
});
});