[workbench] Improve asynchronous tool use (#30184)

GitOrigin-RevId: d1bd33469b557c29968049af99b9c3c85731151d
This commit is contained in:
Alf Eaton
2025-12-10 09:06:43 +00:00
committed by Copybot
parent 851f0c92b1
commit b811da0695
13 changed files with 40 additions and 25 deletions
@@ -20,7 +20,7 @@ describe('<OnlineUsersWidget />', function () {
email: 'another_test_email',
},
],
goToUser: () => {},
goToUser: (async () => {}) as any,
}
describe('with less than 4 users', function () {
@@ -14,7 +14,7 @@ describe('<ToolbarHeader />', function () {
toggleHistoryOpen: () => {},
unreadMessageCount: 0,
onlineUsers: [],
goToUser: () => {},
goToUser: (async () => {}) as any,
projectName: 'test project',
renameProject: () => {},
openShareModal: () => {},