Function
config
(attention: Partial<AttentionConfig["attention"]> = {})
Source from the content-addressed store, hash-verified
| 83 | } |
| 84 | |
| 85 | function config(attention: Partial<AttentionConfig["attention"]> = {}): AttentionConfig { |
| 86 | return { |
| 87 | attention: { |
| 88 | enabled: true, |
| 89 | notifications: true, |
| 90 | sound: true, |
| 91 | volume: 0.4, |
| 92 | sound_pack: "opencode.default", |
| 93 | sounds: {}, |
| 94 | ...attention, |
| 95 | }, |
| 96 | } |
| 97 | } |
| 98 | |
| 99 | describe("createTuiAttention", () => { |
| 100 | test("defaults to sound always and notification blurred", async () => { |
Tested by
no test coverage detected