Title: Testing webhooks and node core labels by phillipj · Pull Request #60 · nodejs/github-bot · GitHub
Open Graph Title: Testing webhooks and node core labels by phillipj · Pull Request #60 · nodejs/github-bot
X Title: Testing webhooks and node core labels by phillipj · Pull Request #60 · nodejs/github-bot
Description: This is a first shot at testing the code related to webhooks, and node core labelling specifically. The gist of this is to POST a recorded payload against the bot's /hooks/github endpoint, mock responses from github.com, and verify that the bot tried to GET/POST a set of expected github.com API URLs. While working on this I noticed a couple of unexpected URLs being requested. Found a bug in the old github npm dependency we used, so decided to update that dependency as well. Also moved all tests into tests/{integration,unit} directories. Refs #55
Open Graph Description: This is a first shot at testing the code related to webhooks, and node core labelling specifically. The gist of this is to POST a recorded payload against the bot's /hooks/github endpoint, mock...
X Description: This is a first shot at testing the code related to webhooks, and node core labelling specifically. The gist of this is to POST a recorded payload against the bot's /hooks/github endpoint, ...
Opengraph URL: https://github.com/nodejs/github-bot/pull/60
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:5d406282-78b9-84f4-9056-e10307167620 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C860:1E68A5:1B6F7D6:255F8FB:6A536F77 |
| html-safe-nonce | fd5b544caa448e491ddf8174a9a7c7adedc807c917bf25a536058c92834fcd9a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDODYwOjFFNjhBNToxQjZGN0Q2OjI1NUY4RkI6NkE1MzZGNzciLCJ2aXNpdG9yX2lkIjoiNjMzODc5NDk3MjQwNjU3NDk2NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 31cecf80af202fecf0b1f1d653a28b653bf8d58484cd8b893b63332ab4dbfa5e |
| hovercard-subject-tag | pull_request:80308431 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/nodejs/github-bot/pull/60/files |
| twitter:image | https://avatars.githubusercontent.com/u/1231635?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/1231635?s=400&v=4 |
| og:image:alt | This is a first shot at testing the code related to webhooks, and node core labelling specifically. The gist of this is to POST a recorded payload against the bot's /hooks/github endpoint, mock... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/nodejs/github-bot git https://github.com/nodejs/github-bot.git |
| octolytics-dimension-user_id | 9950313 |
| octolytics-dimension-user_login | nodejs |
| octolytics-dimension-repository_id | 55435270 |
| octolytics-dimension-repository_nwo | nodejs/github-bot |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 55435270 |
| octolytics-dimension-repository_network_root_nwo | nodejs/github-bot |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width