mirror of
https://wget.la/https://github.com/Wxw-Gu/WechatExplorer
synced 2026-12-01 09:15:41 +08:00
feat: 拓展中心加入机器人
This commit is contained in:
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)
|
||||
|
||||
Reference in new issue
Block a user