feat: 拓展中心加入机器人

This commit is contained in:
Wxw-Gu committed 2026-11-18 17:42:17 +08:00
1 parent 116989a091
commit f16067d6d0
31 files changed
+3510 -566

No files matched your search

@@ -75,11 +75,12 @@ function record(overrides: Partial<ExtensionRegistryRecord>): ExtensionRegistryR
}
describe('官方模板目录', () => {
it('列出两个模板,未安装时状态为 not-installed', async () => {
it('列出三个模板,未安装时状态为 not-installed', async () => {
const { catalog } = setup()
const list = await catalog.list()
expect(list.map((item) => item.template.templateId).sort()).toEqual([
'douyin-sender',
'group-chat-bot',
'keyword-bot'
])
expect(list.every((item) => item.state === 'not-installed')).toBe(true)