(fn)
| 78 | } |
| 79 | |
| 80 | function checkDecorators (fn) { |
| 81 | const meta = getMeta(fn) |
| 82 | if (!meta) return |
| 83 | |
| 84 | const { decorators, name } = meta |
| 85 | if (!decorators) return |
| 86 | |
| 87 | if (decorators.fastify) _checkDecorators(this, 'Fastify', decorators.fastify, name) |
| 88 | if (decorators.reply) _checkDecorators(this, 'Reply', decorators.reply, name) |
| 89 | if (decorators.request) _checkDecorators(this, 'Request', decorators.request, name) |
| 90 | } |
| 91 | |
| 92 | const checks = { |
| 93 | Fastify: exist, |
nothing calls this directly
no test coverage detected