mirror of
https://github.com/qingchencloud/clawpanel.git
synced 2026-06-25 09:34:01 +08:00
docs: expand v0.16.0 changelog; fix kernel unit test
- Align buildSnapshot.isLatest test with KERNEL_TARGET 2026.5.12 - Document full v0.15.3→0.16.0 feature and fix set in CHANGELOG - Fill latest.json changelog summary; sync README highlights - Run node --test in CI to prevent regression Co-authored-by: 晴天 <1186258278@users.noreply.github.com>
This commit is contained in:
@@ -160,10 +160,12 @@ test('buildSnapshot edge case: version slightly below 5.6 feature requirement',
|
||||
})
|
||||
|
||||
test('buildSnapshot.isLatest works against KERNEL_TARGET', () => {
|
||||
const at_target = buildSnapshot('openclaw', '2026.5.6')
|
||||
const at_target = buildSnapshot('openclaw', '2026.5.12')
|
||||
const at_target_zh = buildSnapshot('openclaw', '2026.5.12-zh.2')
|
||||
const above_target = buildSnapshot('openclaw', '2026.6.0')
|
||||
const below_target = buildSnapshot('openclaw', '2026.5.5')
|
||||
const below_target = buildSnapshot('openclaw', '2026.5.11')
|
||||
assert.equal(at_target.isLatest, true)
|
||||
assert.equal(at_target_zh.isLatest, true)
|
||||
assert.equal(above_target.isLatest, true)
|
||||
assert.equal(below_target.isLatest, false)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user