refactor: remove redundant comments and docstrings (#6527)

* refactor: remove redundant comments and docstrings

* fix(signal): annotate async context manager as a generator
This commit is contained in:
chengyongru authored and GitHub committed 2026-10-30 13:07:03 +08:00
1 parent cb3ba45317
commit a4d2430140
922 files changed
+406 -7738

No files matched your search

-2
View File
@@ -1555,7 +1555,6 @@ describe("ThreadShell", () => {
expect(client.sendSystemCommand).not.toHaveBeenCalled();
emit("notice-a", true);
expect(notice()).not.toBeInTheDocument();
// A new turn can notify again; it does not inherit the previous dismissal.
emit("notice-a", false);
emit("notice-a", true);
expect(notice()).toBeVisible();
@@ -5157,7 +5156,6 @@ describe("ThreadShell", () => {
),
);
// No banner yet: only appears once the client emits a matching error.
expect(screen.queryByRole("alert")).not.toBeInTheDocument();
await act(async () => {});