style(catalog): 文件格式筛选默认折叠
build / build (push) Successful in 1m5s

This commit is contained in:
姚章浩
2026-10-27 10:48:09 +08:00
parent 7448d130ec
commit 52f4117835
3 changed files with 7 additions and 0 deletions
+3
View File
@@ -27,6 +27,9 @@ describe('SourceCatalogBrowserView',()=>{
expect(html).toContain('aria-label="返回上一级"')
expect(html).not.toContain('role="tree"')
expect(html).not.toContain('目录树')
expect(html).toContain('<details class="catalog-format-filter">')
expect(html).toContain('<summary>文件格式筛选</summary>')
expect(html).not.toMatch(/<details[^>]*class="catalog-format-filter"[^>]*open/)
})
it('looks like a folder browser and shows only direct children',()=>{