Commit 32b2691
committed
I've introduced a "Test" button on the options page to allow you to test your webhook configurations.
Here are the key changes I made:
- Added a "Test" button to the webhook form in the options page.
- The button sends a test payload (`{ "url": "https://example.com" }`) to the configured webhook URL.
- Refactored the webhook sending logic into a reusable function `sendWebhook` in `utils/utils.js`.
- Updated the popup to use the new `sendWebhook` function.
- Updated the `README.md` to document the new feature.
- Fixed all unit tests that were failing as a result of these changes.1 parent 7c67f2b commit 32b2691
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| 46 | + | |
| 47 | + | |
46 | 48 | | |
47 | 49 | | |
48 | 50 | | |
| |||
0 commit comments