Improve WeChat MP replies and ship MindSpace/H5 production updates.
Add WeChat service account routing with sync acks, connectivity tests, and context isolation; document deploy runbooks; and bundle related MindSpace, voice, Plaza, and server gateway changes for production rollout. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -18,10 +18,11 @@ test('clampLimit enforces defaults and maximum', () => {
|
||||
assert.equal(plazaInternals.clampLimit(0), 20);
|
||||
});
|
||||
|
||||
test('normalizeSort only accepts hot or new', () => {
|
||||
test('normalizeSort accepts recommend, hot, or new', () => {
|
||||
assert.equal(plazaInternals.normalizeSort(undefined), 'recommend');
|
||||
assert.equal(plazaInternals.normalizeSort('new'), 'new');
|
||||
assert.equal(plazaInternals.normalizeSort('hot'), 'hot');
|
||||
assert.equal(plazaInternals.normalizeSort('recommended'), 'hot');
|
||||
assert.equal(plazaInternals.normalizeSort('recommended'), 'recommend');
|
||||
});
|
||||
|
||||
test('mapPlazaError maps documented API codes', () => {
|
||||
|
||||
Reference in New Issue
Block a user