feat!: wrap payloads to send to a "method" with "token" or "webhook" #333
84.97% of diff hit (target 97.91%)
View this Pull Request on Codecov
84.97% of diff hit (target 97.91%)
Annotations
Check warning on line 30 in src/client.js
codecov / codecov/patch
src/client.js#L29-L30
Added lines #L29 - L30 were not covered by tests
Check warning on line 33 in src/client.js
codecov / codecov/patch
src/client.js#L32-L33
Added lines #L32 - L33 were not covered by tests
Check warning on line 58 in src/client.js
codecov / codecov/patch
src/client.js#L45-L58
Added lines #L45 - L58 were not covered by tests
Check warning on line 82 in src/client.js
codecov / codecov/patch
src/client.js#L73-L82
Added lines #L73 - L82 were not covered by tests
Check warning on line 93 in src/client.js
codecov / codecov/patch
src/client.js#L93
Added line #L93 was not covered by tests
Check warning on line 97 in src/client.js
codecov / codecov/patch
src/client.js#L97
Added line #L97 was not covered by tests
Check warning on line 99 in src/client.js
codecov / codecov/patch
src/client.js#L99
Added line #L99 was not covered by tests
Check warning on line 101 in src/client.js
codecov / codecov/patch
src/client.js#L101
Added line #L101 was not covered by tests
Check warning on line 143 in src/config.js
codecov / codecov/patch
src/config.js#L135-L143
Added lines #L135 - L143 were not covered by tests
Check warning on line 65 in src/content.js
codecov / codecov/patch
src/content.js#L61-L65
Added lines #L61 - L65 were not covered by tests
Check warning on line 114 in src/content.js
codecov / codecov/patch
src/content.js#L110-L114
Added lines #L110 - L114 were not covered by tests
Check warning on line 129 in src/content.js
codecov / codecov/patch
src/content.js#L125-L129
Added lines #L125 - L129 were not covered by tests
Check warning on line 137 in src/content.js
codecov / codecov/patch
src/content.js#L133-L137
Added lines #L133 - L137 were not covered by tests
Check warning on line 34 in src/send.js
codecov / codecov/patch
src/send.js#L34
Added line #L34 was not covered by tests
Check warning on line 17 in src/webhook.js
codecov / codecov/patch
src/webhook.js#L16-L17
Added lines #L16 - L17 were not covered by tests
Check warning on line 43 in src/webhook.js
codecov / codecov/patch
src/webhook.js#L42-L43
Added lines #L42 - L43 were not covered by tests
Check warning on line 59 in src/webhook.js
codecov / codecov/patch
src/webhook.js#L49-L59
Added lines #L49 - L59 were not covered by tests
Check warning on line 64 in src/webhook.js
codecov / codecov/patch
src/webhook.js#L61-L64
Added lines #L61 - L64 were not covered by tests
Check warning on line 72 in src/webhook.js
codecov / codecov/patch
src/webhook.js#L67-L72
Added lines #L67 - L72 were not covered by tests