chore: v0.12.0-beta.1(版本三处同步,api-surface 测试放行预发布版本号)

This commit is contained in:
Menghuan1918
2026-08-15 00:28:59 +08:00
parent cba7e77896
commit 83a658efd4
4 changed files with 5 additions and 4 deletions
+2 -1
View File
@@ -58,7 +58,8 @@ describe('public API surface (v0.12.0)', () => {
})
it('advertises the capability list and version (values come from service.ts)', () => {
expect(SIDEBAR_SERVICE_VERSION).toMatch(/^\d+\.\d+\.\d+$/)
// Full releases are bare x.y.z; pre-releases (beta) carry -<tag>.<n>.
expect(SIDEBAR_SERVICE_VERSION).toMatch(/^\d+\.\d+\.\d+(-[a-z0-9.]+)?$/)
expect(SIDEBAR_FEATURES.length).toBeGreaterThanOrEqual(8)
for (const feature of ['badge', 'tabLifecycle', 'updateTab', 'openFile', 'targetedOpen', 'stateSubscription', 'tabMeta', 'pluginSettings']) {
expect(SIDEBAR_FEATURES).toContain(feature)