style: 合入后修 gofmt/govet 与 RegistrationView 类型检查

This commit is contained in:
Nixevol
2026-09-30 16:34:33 +08:00
parent 8f2ebc7d21
commit 0c9b459fb1
18 changed files with 74 additions and 79 deletions
+1 -1
View File
@@ -46,7 +46,7 @@ describe("RegistrationView", () => {
attachTo: document.body,
});
await flushPromises();
expect(w.get('[data-testid="reg-enabled"]').exists()).toBe(true);
expect(w.find('[data-testid="reg-enabled"]').exists()).toBe(true);
expect(w.find('[data-testid="reg-code-missing"]').exists()).toBe(false);
w.unmount();
});