Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

doc(testing/actions): fill missing in 'setConnectionState'

paweldomas8f142d5ec47d
diff --git a/react/features/testing/actions.js b/react/features/testing/actions.js
index b65c732682..8a7e8f18b7 100644
--- a/react/features/testing/actions.js
+++ b/react/features/testing/actions.js
@@ -2,11 +2,21 @@
import { SET_CONNECTION_STATE } from './actionTypes';
+// eslint-disable-next-line jsdoc/require-description-complete-sentence
/**
* Sets the conference connection state of the testing feature.
*
* @param {string} connectionState - This is the lib-jitsi-meet event name. Can
- * be on of:
+ * be one of (with the string values at the time of this writing):
+ * <li>{@link JitsiConferenceEvents.CONNECTION_ESTABLISHED}
+ * - ("conference.connectionEstablished"</li>
+ * <li>{@link JitsiConferenceEvents.CONNECTION_INTERRUPTED}
+ * - ("conference.connectionInterrupted")</li>
+ * <li>{@link JitsiConferenceEvents.CONNECTION_RESTORED}
+ * - ("conference.connectionRestored")</li>
+ * In the reducer the value will be an empty string until first event is
+ * received.
+ *
* @returns {{
* type: SET_CONNECTION_STATE,
* connectionState: string