()
| 146 | // A user token spanning >1 account: account_id can't be auto-resolved, so an |
| 147 | // execute call without account_id binds no usable `accountId`. |
| 148 | function mockMultiAccountUser() { |
| 149 | mockIdentityProbe({ |
| 150 | user: { id: 'u1', email: 'u@example.com' }, |
| 151 | accounts: [ |
| 152 | { id: ACCOUNT_ID, name: 'Acc One' }, |
| 153 | { id: '00000000000000000000000000000002', name: 'Acc Two' } |
| 154 | ] |
| 155 | }) |
| 156 | } |
| 157 | |
| 158 | it('runs account-independent calls that never read accountId', async () => { |
| 159 | mockMultiAccountUser() |
no test coverage detected