Repository navigation
Commit 2be3fb3
committed
fix(tests): handle the refused provider expansion before awaiting the concurrent grant
The concurrent-grant test started ensureWorkspaceAccountsGroup and awaited
the grant transaction before attaching a handler to the refusal. When the
refusal resolved first, Node reported an unhandled rejection and Vitest failed
the shard although the test passed. Attach the rejection assertion when the
call starts and await it after the grant commits.1 parent 3810acc commit 2be3fb3
1 file changed
Lines changed: 9 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
492 | 492 | | |
493 | 493 | | |
494 | 494 | | |
495 | | - | |
496 | | - | |
497 | | - | |
498 | | - | |
499 | | - | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
500 | 503 | | |
501 | 504 | | |
502 | | - | |
| 505 | + | |
503 | 506 | | |
504 | 507 | | |
505 | 508 | | |
| |||
0 commit comments