(comment, thread)
| 58 | } |
| 59 | |
| 60 | function formatWPComment(comment, thread) { |
| 61 | return { |
| 62 | author: getWPAuthor(comment), |
| 63 | comment: getWPComment(thread, comment), |
| 64 | id: comment['wp:comment_id'] |
| 65 | }; |
| 66 | } |
| 67 | |
| 68 | async function parseWP(data) { |
| 69 | const threads = data.rss.channel.item; |
no test coverage detected