chore: 使用 Prettier 统一代码风格

This commit is contained in:
rbetree
2026-01-04 21:07:07 +08:00
parent 5ae8e99795
commit 82d6341c00
23 changed files with 3129 additions and 2805 deletions

View File

@@ -30,9 +30,9 @@ function renderBookmarksWithSite(site) {
{
name: '分类',
icon: 'fas fa-folder',
sites: [site]
}
]
sites: [site],
},
],
},
false
);
@@ -45,7 +45,7 @@ test('站点配置包含 faviconUrl本地 assets 路径)时,渲染 bookma
url: 'https://intranet.example/',
faviconUrl: 'assets/menav.svg',
icon: 'fas fa-link',
external: true
external: true,
});
assert.match(html, /data-favicon-url="assets\/menav\.svg"/);
@@ -60,7 +60,7 @@ test('站点配置包含 faviconUrl在线 ico渲染 bookmarks 不应
url: 'https://example.com/',
faviconUrl: 'https://content.webcull.com/images/websites/icons/470/695/b788b0.ico',
icon: 'fas fa-link',
external: true
external: true,
});
assert.match(
@@ -73,4 +73,3 @@ test('站点配置包含 faviconUrl在线 ico渲染 bookmarks 不应
);
});
});