test: remove unreachable cases and strengthen weak assertions
This commit is contained in:
1 parent
169062be11
commit
abfe510ce1
25 files changed
+64
-302
No files matched your search
@@ -528,7 +528,7 @@ describe("NanobotTui composer", () => {
|
||||
ui.composer.setText("ask @github next")
|
||||
ui.composer.submit()
|
||||
await waitUntil(() => sent.length === 2)
|
||||
expect(ui.status.plainText).not.toContain("Steering")
|
||||
expect(ui.status.plainText).toMatch(/^Thinking\s+\d+s/u)
|
||||
expect(ui.composer.placeholder).toBe("Enter send now Tab send next")
|
||||
expect(sentOptions[1]).toEqual({
|
||||
cliApps: [{ name: "github" }],
|
||||
|
||||
Reference in new issue
Block a user