scope-changes-visibility-test
main
確認「部門人員異動」真的只有該部門的部長看得到。程式本來就是對的(changes 只掛在 full: true 的部門列上),但沒有測試鎖住,這個 PR 補上。
changes
full: true
full: false
只動 tests/scope-changes.test.mjs。
tests/scope-changes.test.mjs
🤖 Generated with Claude Code
https://claude.ai/code/session_01VDJVpPiGiWjJP1yVvvGhzQ
Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01VDJVpPiGiWjJP1yVvvGhzQ
No dependencies set.
The note is not visible to the blocked user.
確認「部門人員異動」真的只有該部門的部長看得到。程式本來就是對的(
changes只掛在full: true的部門列上),但沒有測試鎖住,這個 PR 補上。加了四個測試
full: false,連changes這個欄位都沒有沒有改任何程式
只動
tests/scope-changes.test.mjs。🤖 Generated with Claude Code
https://claude.ai/code/session_01VDJVpPiGiWjJP1yVvvGhzQ
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.