chore(prettier): format 并清理无用 import

make prettier 统一格式化,goimports 与 eslint unused-imports 自动移除未使用导入。
This commit is contained in:
ryan
2026-07-19 20:50:13 +08:00
parent d9663f91d6
commit a963b8bf54
14 changed files with 26 additions and 40 deletions
@@ -539,9 +539,7 @@ describe('Pages source UI', () => {
expect(
screen.getByRole('switch', { name: '允许不安全的连接' }),
).not.toBeChecked();
await user.click(
screen.getByRole('switch', { name: '允许不安全的连接' }),
);
await user.click(screen.getByRole('switch', { name: '允许不安全的连接' }));
await user.click(screen.getByRole('button', { name: '保存 Remote 来源' }));
await waitFor(() => {