test(daemon): split longpress script-writer tests to fix red main lint

Closed
TH
4h ago
+79-55

Summary

Lint, Typecheck & Package is red on main at 1244334 (#4363). Its error is session-script-writer.test.ts: File has too many lines (1016).

#4363 grew the file to 997 lines against its base. #4360 had already added 19 lines on main, so the merge landed at 1016. That is over the lint max-lines limit, and every open PR now inherits the failure through its merge ref.

This change moves the three longpress tests, unchanged, to session-script-writer-longpress.test.ts (2 files, test-only). The original file is now 961 lines.

Validation

  • Tested SHA 49e8e92.
  • Both script-writer test files pass: 45 tests.
  • pnpm check:quick (lint and typecheck) passes.
  • pnpm check:fallow --base origin/main reports no issues and 0 duplication.
  • Test-only change: no runtime or device path is touched.
  • Risk: none beyond the test move.

Generated by Claude Code


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.