refactor!: rename chat providers to channels
This commit is contained in:
@@ -3,7 +3,7 @@ import os from "node:os";
|
||||
import path from "node:path";
|
||||
import { describe, expect, it, vi } from "vitest";
|
||||
import {
|
||||
assertProvider,
|
||||
assertWebChannel,
|
||||
CONFIG_DIR,
|
||||
ensureDir,
|
||||
jidToE164,
|
||||
@@ -57,9 +57,9 @@ describe("sleep", () => {
|
||||
});
|
||||
});
|
||||
|
||||
describe("assertProvider", () => {
|
||||
it("throws for invalid provider", () => {
|
||||
expect(() => assertProvider("bad" as string)).toThrow();
|
||||
describe("assertWebChannel", () => {
|
||||
it("throws for invalid channel", () => {
|
||||
expect(() => assertWebChannel("bad" as string)).toThrow();
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user