mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-05 21:10:21 +00:00
perf(test): consolidate channel misc suites
This commit is contained in:
@@ -1,18 +0,0 @@
|
||||
import { describe, expect, it } from "vitest";
|
||||
import * as impl from "../../channel-web.js";
|
||||
import * as entry from "./index.js";
|
||||
|
||||
describe("channels/web entrypoint", () => {
|
||||
it("re-exports web channel helpers", () => {
|
||||
expect(entry.createWaSocket).toBe(impl.createWaSocket);
|
||||
expect(entry.loginWeb).toBe(impl.loginWeb);
|
||||
expect(entry.logWebSelfId).toBe(impl.logWebSelfId);
|
||||
expect(entry.monitorWebInbox).toBe(impl.monitorWebInbox);
|
||||
expect(entry.monitorWebChannel).toBe(impl.monitorWebChannel);
|
||||
expect(entry.pickWebChannel).toBe(impl.pickWebChannel);
|
||||
expect(entry.sendMessageWhatsApp).toBe(impl.sendMessageWhatsApp);
|
||||
expect(entry.WA_WEB_AUTH_DIR).toBe(impl.WA_WEB_AUTH_DIR);
|
||||
expect(entry.waitForWaConnection).toBe(impl.waitForWaConnection);
|
||||
expect(entry.webAuthExists).toBe(impl.webAuthExists);
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user