Joshua Dickerson

Results 37 comments of Joshua Dickerson

```curl -X POST -H 'Content-type: application/json' -H 'Authorization: Bearer ' --data '{"channel":"","blocks":[{"type":"divider"},{"type":"section","text":{"type":"mrkdwn","text":"*Test Summary*"}},{"type":"section","fields":[{"type":"mrkdwn","text":"Total Tests:"},{"type":"mrkdwn","text":"9"},{"type":"mrkdwn","text":"Test Passed:"},{"type":"mrkdwn","text":"9"},{"type":"mrkdwn","text":"Test Failed:"},{"type":"mrkdwn","text":"0"},{"type":"mrkdwn","text":"Test Skipped:"},{"type":"mrkdwn","text":"0"},{"type":"mrkdwn","text":"Test Duration:"},{"type":"mrkdwn","text":"3.7s"},],},{"type":"section","fields":[{"type":"mrkdwn","text":"Assertions:"},{"type":"mrkdwn","text":"Total: 25 Failed: 0"},]},{"type":"divider"},],"attachments":[{"mrkdwn_in":["text"],"color":"#008000","author_name":"Newman Tests","title":":white_check_mark: All Passed :white_check_mark:","footer":"Newman Test","footer_icon":"https://platform.slack-edge.com/img/default_application_icon.png",}] }' https://hooks.slack.com/services/``` this works,...

Hacking away at this. I installed https://www.npmjs.com/package/axios-curlirize and edited slackUtils.js in node_modules so I could test it out. This works. I even tested by removing the duplicate content types there....

https://github.com/HugoAreias/newman-reporter-slackmsg/commit/bdc6e64170a91cf7d81f808faf3c44279c3b0503

Probably best to just use https://github.com/slackapi/bolt-js

I am confused by the description regarding "Rector". Was this (or is this) being done with a Rector? It should be doable and not that difficult to do with Rector...

> Most changes where made with rector. If you're making changes with Rector or some other tool, it's helpful to see that in the PR. I review that first to...