(userId = 'usr_1')
| 132 | |
| 133 | vi.mock('@kilocode/db/client', () => ({ |
| 134 | getWorkerDb: () => ({ |
| 135 | select: () => ({ |
| 136 | from: () => ({ |
| 137 | where: () => ({ |
| 138 | limit: async () => [{ api_token_pepper: null, blocked_reason: null }], |
| 139 | }), |
| 140 | }), |
| 141 | }), |
| 142 | }), |
| 143 | })); |
| 144 | |
| 145 | const { |
| 146 | default: worker, |