Skip to content

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

ref(testing): move 'testing' feature to base

paweldomas382c548cf978
diff --git a/react/features/testing/actionTypes.js b/react/features/base/testing/actionTypes.js
similarity index 100%
rename from react/features/testing/actionTypes.js
rename to react/features/base/testing/actionTypes.js
diff --git a/react/features/testing/actions.js b/react/features/base/testing/actions.js
similarity index 100%
rename from react/features/testing/actions.js
rename to react/features/base/testing/actions.js
diff --git a/react/features/testing/components/AbstractTestHint.js b/react/features/base/testing/components/AbstractTestHint.js
similarity index 100%
rename from react/features/testing/components/AbstractTestHint.js
rename to react/features/base/testing/components/AbstractTestHint.js
diff --git a/react/features/testing/components/TestConnectionInfo.js b/react/features/base/testing/components/TestConnectionInfo.js
similarity index 96%
rename from react/features/testing/components/TestConnectionInfo.js
rename to react/features/base/testing/components/TestConnectionInfo.js
index 908d4dccfb..088222f405 100644
--- a/react/features/testing/components/TestConnectionInfo.js
+++ b/react/features/base/testing/components/TestConnectionInfo.js
@@ -4,9 +4,11 @@ import React, { Component } from 'react';
import { connect } from 'react-redux';
-import { Fragment } from '../../base/react';
-import { getLocalParticipant } from '../../base/participants';
-import { statsEmitter } from '../../connection-indicator';
+import { Fragment } from '../../react';
+import { getLocalParticipant } from '../../participants';
+
+// FIXME this imports feature to 'base'
+import { statsEmitter } from '../../../connection-indicator';
import { TestHint } from './index';
diff --git a/react/features/testing/components/TestHint.android.js b/react/features/base/testing/components/TestHint.android.js
similarity index 100%
rename from react/features/testing/components/TestHint.android.js
rename to react/features/base/testing/components/TestHint.android.js
diff --git a/react/features/testing/components/TestHint.ios.js b/react/features/base/testing/components/TestHint.ios.js
similarity index 100%
rename from react/features/testing/components/TestHint.ios.js
rename to react/features/base/testing/components/TestHint.ios.js
diff --git a/react/features/testing/components/index.js b/react/features/base/testing/components/index.js
similarity index 100%
rename from react/features/testing/components/index.js
rename to react/features/base/testing/components/index.js
diff --git a/react/features/testing/index.js b/react/features/base/testing/index.js
similarity index 100%
rename from react/features/testing/index.js
rename to react/features/base/testing/index.js
diff --git a/react/features/testing/middleware.js b/react/features/base/testing/middleware.js
similarity index 92%
rename from react/features/testing/middleware.js
rename to react/features/base/testing/middleware.js
index 1d34ceb86c..733aef81e8 100644
--- a/react/features/testing/middleware.js
+++ b/react/features/base/testing/middleware.js
@@ -4,10 +4,10 @@ import Logger from 'jitsi-meet-logger';
const logger = Logger.getLogger(__filename);
-import { MiddlewareRegistry } from '../base/redux';
+import { MiddlewareRegistry } from '../redux';
-import { CONFERENCE_WILL_JOIN } from '../base/conference';
-import { JitsiConferenceEvents } from '../base/lib-jitsi-meet';
+import { CONFERENCE_WILL_JOIN } from '../conference';
+import { JitsiConferenceEvents } from '../lib-jitsi-meet';
import { setConnectionState } from './actions';
/**
diff --git a/react/features/testing/reducer.js b/react/features/base/testing/reducer.js
similarity index 94%
rename from react/features/testing/reducer.js
rename to react/features/base/testing/reducer.js
index fa81b7d72b..51ff939caa 100644
--- a/react/features/testing/reducer.js
+++ b/react/features/base/testing/reducer.js
@@ -1,4 +1,4 @@
-import { assign, ReducerRegistry } from '../base/redux';
+import { assign, ReducerRegistry } from '../redux';
import { SET_CONNECTION_STATE } from './actionTypes';
diff --git a/react/features/conference/components/Conference.native.js b/react/features/conference/components/Conference.native.js
index 4822ed7aaa..63c273ca2f 100644
--- a/react/features/conference/components/Conference.native.js
+++ b/react/features/conference/components/Conference.native.js
@@ -11,11 +11,11 @@ import { connect, disconnect } from '../../base/connection';
import { DialogContainer } from '../../base/dialog';
import { CalleeInfoContainer } from '../../base/jwt';
import { Container, LoadingIndicator, TintedView } from '../../base/react';
+import { TestConnectionInfo } from '../../base/testing';
import { createDesiredLocalTracks } from '../../base/tracks';
import { ConferenceNotification } from '../../calendar-sync';
import { Filmstrip } from '../../filmstrip';
import { LargeVideo } from '../../large-video';
-import { TestConnectionInfo } from '../../testing';
import { setToolboxVisible, Toolbox } from '../../toolbox';
import styles from './styles';