Commit 4fb243a
test: add test case for popup error display
Adds a new test case to `tests/popup.test.js` to verify that the popup correctly displays an error message and updates the button text when `sendWebhook` fails. This covers a previously untested code path in the `catch` block of the webhook button click handler.
Co-authored-by: cmuench <211294+cmuench@users.noreply.github.com>1 parent f39b983 commit 4fb243a
1 file changed
Lines changed: 26 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
124 | 150 | | |
0 commit comments