mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-25 15:40:06 +03:00
Fix tests
This commit is contained in:
parent
96dabbd4f5
commit
3377d2165b
|
@ -468,20 +468,21 @@ export function sendMessage<S, A extends Action<unknown>>(
|
|||
config.serialize as Serialize | undefined,
|
||||
config.serialize as Serialize | undefined
|
||||
);
|
||||
} else {
|
||||
toContentScript<S, A>(
|
||||
{
|
||||
type: 'STATE',
|
||||
action: amendedAction,
|
||||
payload: state,
|
||||
maxAge: config.maxAge,
|
||||
source,
|
||||
name: config.name || name,
|
||||
instanceId: config.instanceId || instanceId || 1,
|
||||
},
|
||||
config.serialize as Serialize | undefined,
|
||||
config.serialize as Serialize | undefined
|
||||
);
|
||||
}
|
||||
toContentScript<S, A>(
|
||||
{
|
||||
type: 'STATE',
|
||||
action: amendedAction,
|
||||
payload: state,
|
||||
maxAge: config.maxAge,
|
||||
source,
|
||||
name: config.name || name,
|
||||
instanceId: config.instanceId || instanceId || 1,
|
||||
},
|
||||
config.serialize as Serialize | undefined,
|
||||
config.serialize as Serialize | undefined
|
||||
);
|
||||
}
|
||||
|
||||
function handleMessages(event: MessageEvent<ContentScriptToPageScriptMessage>) {
|
||||
|
|
|
@ -2,7 +2,7 @@ import React from 'react';
|
|||
import { mount } from 'enzyme';
|
||||
import { Provider } from 'react-redux';
|
||||
import configureStore from '../../../src/app/stores/windowStore';
|
||||
import App from '../../../src/app/containers/App.js';
|
||||
import App from '../../../src/app/containers/App';
|
||||
|
||||
const store = configureStore(store);
|
||||
const component = mount(
|
||||
|
|
Loading…
Reference in New Issue
Block a user