KamoCRM

Render the dev machine menu hook in a real root, and cover the cloud session row

Fixkamo-internal
出荷済み
2026年9月28日 9:35 UTC
プロフィール
Kamo
コンテンツ
de1b9b4

devMachineSections.test.tsx called useDevMachineSections() bare, outside any render. It worked while useTranslations (mocked) was the hook's only React dependency; the cloud-session row (af879443f) added usecoderRepositories, which holds state and reads the nav layout context, and all 19 tests failed with "Cannot read properties of null (reading 'useContext')". The hook is now hosted by a probe component in a react-dom root, re-rendered on every read so a changed standing model is what the next read sees. The stale child list gains newCloudSession, and three tests pin the cloud row: no request without a dev machine, the machine's repositories listed and the session started from the one picked, and a disabled status row when there are none.

すべての変更

配送を見るのが好きですか?

自分のワークスペースに到着します。 無料プランをスタートし、月に再度このページをお読みください.

永遠に無料で始める料金を見る