Repository navigation
Fix main typecheck: pin Buffer<ArrayBuffer> in cdp-ws-proxy mid-print test - #7263
Conversation
Co-authored-by: Orca <[email protected]>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThis change updates a test file's type annotations, changing the generic type used for Changes
Related issues: None specified. Related PRs: None specified. Suggested labels: tests, low-risk Suggested reviewers: None specified. Poem A rabbit types with careful paws, 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches📝 Generate docstrings
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
… test (stablyai#7263) Co-authored-by: Orca <[email protected]>
Summary
pnpm typecheckfails on current main:src/main/browser/cdp-ws-proxy.test.ts(653,9)resolvesnew Promise<Buffer>toBuffer<ArrayBufferLike>, which no longer satisfies the mockedprintToPDFreturn typePromise<Buffer<ArrayBuffer>>(introduced by the mid-print disconnect test in#7044; the break only appears against current main's typings, so its own PR checks were green).Buffer<ArrayBuffer>. Type-only change.PR Checks / verifyjob on every open PR based on main (e.g. Bump mobile app.json to 0.0.22 #7261, Update stale mobile Android download links to 0.0.21 #7262).Verification
pnpm exec tsgo --noEmit -p config/tsconfig.node.json→ cleanpnpm vitest run src/main/browser/cdp-ws-proxy.test.ts→ 30 passedMade with Orca 🐋