mirror of
https://git.openapi.site/https://github.com/desirecore/registry.git
synced 2026-12-06 03:39:05 +08:00
test(registry): permit additional fixed app releases (#45)
Co-authored-by: Corona <corona@CoronadeMac-Mini-2.local>
This commit is contained in:
1 parent
7cac37deff
commit
6a4fea60e0
3 files changed
+5
-20
No files matched your search
@@ -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
|
||||
})
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user