mirror of
https://github.com/hansjone/dsh-im-ops.git
synced 2026-10-18 12:33:20 +08:00
fix(weixin): align long-reply limits across runtime
This commit is contained in:
parent
868372fb04
commit
5e07137c44
7 changed files with 178 additions and 165 deletions
|
|
@ -63,6 +63,8 @@ test('Weixin production has no per-bot result-file Gate', async (t) => {
|
|||
|
||||
assert.equal(Object.hasOwn(runtimes[0], 'outboundArtifactsEnabled'), false);
|
||||
assert.equal(Object.hasOwn(runtimes[1], 'outboundArtifactsEnabled'), false);
|
||||
assert.equal(runtimes[0].maxMessageChars, 1_800);
|
||||
assert.equal(runtimes[1].maxMessageChars, 1_800);
|
||||
await production.close();
|
||||
|
||||
const productionWithDefault = await createProductionController(ctx, { dataDir }, internals);
|
||||
|
|
@ -72,5 +74,6 @@ test('Weixin production has no per-bot result-file Gate', async (t) => {
|
|||
token: 'host-only',
|
||||
});
|
||||
assert.equal(Object.hasOwn(runtimes[2], 'outboundArtifactsEnabled'), false);
|
||||
assert.equal(runtimes[2].maxMessageChars, 1_800);
|
||||
await productionWithDefault.close();
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue