mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-26 16:09:50 +03:00
Fix tests
This commit is contained in:
parent
96dabbd4f5
commit
3377d2165b
|
@ -468,7 +468,7 @@ export function sendMessage<S, A extends Action<unknown>>(
|
||||||
config.serialize as Serialize | undefined,
|
config.serialize as Serialize | undefined,
|
||||||
config.serialize as Serialize | undefined
|
config.serialize as Serialize | undefined
|
||||||
);
|
);
|
||||||
}
|
} else {
|
||||||
toContentScript<S, A>(
|
toContentScript<S, A>(
|
||||||
{
|
{
|
||||||
type: 'STATE',
|
type: 'STATE',
|
||||||
|
@ -482,6 +482,7 @@ export function sendMessage<S, A extends Action<unknown>>(
|
||||||
config.serialize as Serialize | undefined,
|
config.serialize as Serialize | undefined,
|
||||||
config.serialize as Serialize | undefined
|
config.serialize as Serialize | undefined
|
||||||
);
|
);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function handleMessages(event: MessageEvent<ContentScriptToPageScriptMessage>) {
|
function handleMessages(event: MessageEvent<ContentScriptToPageScriptMessage>) {
|
||||||
|
|
|
@ -2,7 +2,7 @@ import React from 'react';
|
||||||
import { mount } from 'enzyme';
|
import { mount } from 'enzyme';
|
||||||
import { Provider } from 'react-redux';
|
import { Provider } from 'react-redux';
|
||||||
import configureStore from '../../../src/app/stores/windowStore';
|
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 store = configureStore(store);
|
||||||
const component = mount(
|
const component = mount(
|
||||||
|
|
Loading…
Reference in New Issue
Block a user