Refactor reactions / hand raised to use rxjs and start ordering tiles based on hand raised. #5439
Annotations
10 errors and 1 warning
src/useReactions.test.tsx > useReactions > starts with an empty list:
src/useReactions.test.tsx#L58
TypeError: ReactionsMockRTCSession is not a constructor
❯ src/useReactions.test.tsx:58:24
|
src/useReactions.test.tsx > useReactions > handles incoming raised hand:
src/useReactions.test.tsx#L71
TypeError: ReactionsMockRTCSession is not a constructor
❯ src/useReactions.test.tsx:71:24
|
src/useReactions.test.tsx > useReactions > handles incoming unraised hand:
src/useReactions.test.tsx#L84
TypeError: ReactionsMockRTCSession is not a constructor
❯ src/useReactions.test.tsx:84:24
|
src/useReactions.test.tsx > useReactions > handles loading prior raised hand events:
src/useReactions.test.tsx#L108
TypeError: ReactionsMockRTCSession is not a constructor
❯ src/useReactions.test.tsx:108:24
|
src/useReactions.test.tsx > useReactions > will remove reaction when a member leaves the call:
src/useReactions.test.tsx#L122
TypeError: ReactionsMockRTCSession is not a constructor
❯ src/useReactions.test.tsx:122:24
|
src/useReactions.test.tsx > useReactions > will remove reaction when a member joins via a new event:
src/useReactions.test.tsx#L136
TypeError: ReactionsMockRTCSession is not a constructor
❯ src/useReactions.test.tsx:136:24
|
src/useReactions.test.tsx > useReactions > ignores invalid sender for historic event:
src/useReactions.test.tsx#L154
TypeError: ReactionsMockRTCSession is not a constructor
❯ src/useReactions.test.tsx:154:24
|
src/useReactions.test.tsx > useReactions > ignores invalid sender for new event:
src/useReactions.test.tsx#L164
TypeError: ReactionsMockRTCSession is not a constructor
❯ src/useReactions.test.tsx:164:24
|
src/room/GroupCallView.test.tsx > will play a leave sound asynchronously in SPA mode:
src/useReactions.tsx#L152
TypeError: Cannot read properties of undefined (reading 'getChildEventsForEvent')
❯ getLastReactionEvent src/useReactions.tsx:152:40
❯ src/useReactions.tsx:188:24
❯ commitHookEffectListMount node_modules/react-dom/cjs/react-dom.development.js:23189:26
❯ commitPassiveMountOnFiber node_modules/react-dom/cjs/react-dom.development.js:24970:11
❯ commitPassiveMountEffects_complete node_modules/react-dom/cjs/react-dom.development.js:24930:9
❯ commitPassiveMountEffects_begin node_modules/react-dom/cjs/react-dom.development.js:24917:7
❯ commitPassiveMountEffects node_modules/react-dom/cjs/react-dom.development.js:24905:3
❯ flushPassiveEffectsImpl node_modules/react-dom/cjs/react-dom.development.js:27078:3
❯ flushPassiveEffects node_modules/react-dom/cjs/react-dom.development.js:27023:14
❯ performSyncWorkOnRoot node_modules/react-dom/cjs/react-dom.development.js:26115:3
|
src/room/GroupCallView.test.tsx > will play a leave sound synchronously in widget mode:
src/useReactions.tsx#L152
TypeError: Cannot read properties of undefined (reading 'getChildEventsForEvent')
❯ getLastReactionEvent src/useReactions.tsx:152:40
❯ src/useReactions.tsx:188:24
❯ commitHookEffectListMount node_modules/react-dom/cjs/react-dom.development.js:23189:26
❯ commitPassiveMountOnFiber node_modules/react-dom/cjs/react-dom.development.js:24970:11
❯ commitPassiveMountEffects_complete node_modules/react-dom/cjs/react-dom.development.js:24930:9
❯ commitPassiveMountEffects_begin node_modules/react-dom/cjs/react-dom.development.js:24917:7
❯ commitPassiveMountEffects node_modules/react-dom/cjs/react-dom.development.js:24905:3
❯ flushPassiveEffectsImpl node_modules/react-dom/cjs/react-dom.development.js:27078:3
❯ flushPassiveEffects node_modules/react-dom/cjs/react-dom.development.js:27023:14
❯ performSyncWorkOnRoot node_modules/react-dom/cjs/react-dom.development.js:26115:3
|
Run vitest tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|