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
@@ -21,7 +21,6 @@ test('根格式仍为4.2,作者Schema保持主仓固定字节,合成fixtures
|
||||
const root = JSON.parse(readFileSync(join(source,'manifest.json'),'utf8'))
|
||||
assert.equal(root.version,'4.2.0')
|
||||
assert.equal(readFileSync(join(source,'SCHEMA_VERSION'),'utf8').trim(),'4.2.0')
|
||||
assert.equal(root.stats.webBundles,undefined)
|
||||
assert.equal(createHash('sha256').update(readFileSync(join(source,'schemas/registry-entry.v4.3.schema.json'))).digest('hex'),'27a7f86b82f5d88bfe1eae2d083540359ed8f2fccffa8f3d040fdc58d0cf3900')
|
||||
for (const id of readdirSync(join(source,'fixtures/authoring/entries'))) assert.equal(existsSync(join(source,'entries',id)),false,id)
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user