()
| 11 | const TOKEN = 'test-token'; |
| 12 | |
| 13 | function fixedImpl(): IAuthTokenService { |
| 14 | return { |
| 15 | _serviceBrand: undefined, |
| 16 | getToken: () => TOKEN, |
| 17 | isValid: async (candidate) => candidate === TOKEN, |
| 18 | }; |
| 19 | } |
| 20 | |
| 21 | describe('createAuthHook (onRequest middleware)', () => { |
| 22 | let app: FastifyInstance; |
no outgoing calls
no test coverage detected