mattermost-mobile/app/products/calls/actions/index.ts
Claudio Costa 44bce6c319
[MM-59773] Add unit tests for Calls (#8480)
* Unit tests for app/products/calls/observers

* Unit tests for app/products/calls/actions

* Unit tests for app/products/calls/client

* Unit tests for app/products/calls/connection

* Unit tests for app/products/calls/connection/websocket_event_handlers.ts

* Unit tests for app/products/calls/connection/connection.ts

* Unit tests for app/products/calls/state/actions.ts

* Unit tests for app/products/calls/utils.ts

* Unit tests for app/products/calls/alerts.ts

* Unit tests for app/products/calls/calls_manager.ts

* Unit tests for app/products/calls/hooks.ts

* Factor out force logout error

* Reduce use of 'as jest.Mock'

* Add test case

* Use constants

* Better naming

* Fix types after merge

* Fix test
2025-01-21 12:02:03 -06:00

36 lines
788 B
TypeScript

// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
// See LICENSE.txt for license information.
export {
loadConfig,
loadCalls,
enableChannelCalls,
joinCall,
leaveCall,
muteMyself,
unmuteMyself,
raiseHand,
unraiseHand,
setSpeakerphoneOn,
handleCallsSlashCommand,
startCallRecording,
stopCallRecording,
dismissIncomingCall,
hostMake,
hostMuteSession,
hostMuteOthers,
hostStopScreenshare,
hostLowerHand,
hostRemove,
setPreferredAudioRoute,
initializeVoiceTrack,
sendReaction,
endCall,
loadCallForChannel,
loadConfigAndCalls,
checkIsCallsPluginEnabled,
canEndCall,
getEndCallMessage,
} from './calls';
export {hasMicrophonePermission} from './permissions';