fix: remember direct recipients for connection tests

This commit is contained in:
xmanrui 2026-08-19 11:24:50 +08:00
parent fb61c4235f
commit 3ac70a7c65
34 changed files with 397 additions and 178 deletions

View file

@ -21,7 +21,7 @@ class FakeClient extends EventEmitter {
async sendMessage(chatId, body) { this.sent.push({ chatId, body }); }
}
test('Enterprise WeChat runtime sends a connection test only to the remembered private status target', async () => {
test('Enterprise WeChat runtime sends a connection test only to the remembered private target', async () => {
const client = new FakeClient();
const state = {};
const runtime = new WecomRuntime({