Commit 4267519
fix(ci): match CircleCI test invocation for identity-service
CircleCI's test-identity-service entrypoint shifted "test" off and ran
`npx mocha` with no args, so mocha used its default
`test/*.{js,cjs,mjs}` glob — only the .js tests, never `test/index.ts`.
src/app.js only requires .js modules (routes/index.js filters to
`.js`), so the .ts solana relay tree never loaded and the missing
solana env vars didn't matter.
`ts-mocha test/index.ts` exposed that path and crashed on
`new PublicKey('')` in solanaRelayChecks.ts. Switch to plain
`npx mocha` to mirror CircleCI exactly. Filling in real solana env
vars (or unblocking the .ts tests) is out of scope for the migration.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>1 parent 3fb6760 commit 4267519
1 file changed
Lines changed: 7 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
306 | 306 | | |
307 | 307 | | |
308 | 308 | | |
309 | | - | |
310 | | - | |
311 | | - | |
312 | | - | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
313 | 315 | | |
314 | 316 | | |
315 | 317 | | |
| |||
325 | 327 | | |
326 | 328 | | |
327 | 329 | | |
328 | | - | |
329 | | - | |
330 | | - | |
331 | | - | |
| 330 | + | |
332 | 331 | | |
333 | 332 | | |
334 | 333 | | |
| |||
0 commit comments