test(registry): permit additional fixed app releases (#45)

Co-authored-by: Corona <corona@CoronadeMac-Mini-2.local>
This commit is contained in:
yigeandCorona authored and GitHub committed 2026-12-05 23:51:30 +08:00
1 parent 7cac37deff
commit 6a4fea60e0
3 files changed
+5 -20

No files matched your search

+1 -1
View File
@@ -132,7 +132,7 @@ test('普通条目与external-integration不被作者Schema重定义', () => {
rmSync(join(root, 'entries', id), { recursive: true })
mutate(root, 'manifest.json', manifest => {
manifest.stats.totalEntries -= 1
const stat = { 'native-app': 'nativeApps', 'docker-app': 'dockerApps' }[entry.type]
const stat = { 'native-app': 'nativeApps', 'docker-app': 'dockerApps', 'web-bundle': 'webBundles' }[entry.type]
if (stat) manifest.stats[stat] -= 1
})
}