• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

microlinkhq / mql / 15450473503

04 Jun 2025 06:59PM UTC coverage: 69.918% (+0.4%) from 69.515%
15450473503

push

github

web-flow
fix: retry as client parameter (#163)

since microlink supports configurable retry behavior, it's necessary to distinct between client and server side.

168 of 223 branches covered (75.34%)

Branch coverage included in aggregate %.

0 of 2 new or added lines in 1 file covered. (0.0%)

857 of 1243 relevant lines covered (68.95%)

7.02 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

68.75
/src/node.js
1
const mql = require('./factory')('buffer')({
2✔
2
  MicrolinkError: require('whoops')('MicrolinkError'),
2✔
3
  got: require('got').extend({ headers: { 'user-agent': undefined } }),
2✔
4
  flatten: require('flattie').flattie,
2✔
5
  VERSION: require('../package.json').version
2✔
6
})
2✔
7

2✔
8
module.exports = mql
2✔
9
module.exports.buffer = mql.extend({ responseType: 'buffer' })
2✔
10
module.exports.render = (input, { width = '650px' } = {}) => {
2✔
11
  if (input && input.url && input.type) {
×
12
    return `<img width="${width}" src="${input.url}" />`
×
13
  }
×
14
  return input
×
15
}
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc