Skip to content
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.

Eliminate yarn test spam #1024

Merged
merged 13 commits into from
Apr 3, 2018
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
define STORE_REHYDRATION_FAILED locally vs. in mattermost-redux, for now
  • Loading branch information
lieut-data committed Apr 3, 2018
commit 7642e80f2d61d895a9777dbde8fc5e47247b44b7
3 changes: 2 additions & 1 deletion store/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import {storageRehydrate} from 'actions/storage';
import appReducer from 'reducers';
import {transformSet} from 'store/utils';
import {detect} from 'utils/network.js';
import {ActionTypes} from 'utils/constants.jsx';

function getAppReducer() {
return require('../reducers'); // eslint-disable-line global-require
Expand Down Expand Up @@ -137,7 +138,7 @@ export default function configureStore(initialState) {
});
}).catch((error) => {
store.dispatch({
type: General.STORE_REHYDRATION_FAILED,
type: ActionTypes.STORE_REHYDRATION_FAILED,
error,
});
});
Expand Down
2 changes: 2 additions & 0 deletions utils/constants.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,8 @@ export const ActionTypes = keyMirror({

INIT_WEBRTC: null,
CLOSE_WEBRTC: null,

STORE_REHYDRATION_FAILED: null,
});

export const WebrtcActionTypes = keyMirror({
Expand Down