mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-27 00:19:55 +03:00
Test
This commit is contained in:
parent
bdb72de849
commit
d0f460f3ef
|
@ -52,13 +52,13 @@ describe('DevTools panel for Electron', function () {
|
||||||
if (attempts === 0) {
|
if (attempts === 0) {
|
||||||
return callback('Redux panel not found');
|
return callback('Redux panel not found');
|
||||||
}
|
}
|
||||||
if (UI.inspectorView) {
|
if (EUI.inspectorView) {
|
||||||
const tabs = UI.inspectorView.tabbedPane.tabs;
|
const tabs = EUI.inspectorView.tabbedPane.tabs;
|
||||||
const idList = tabs.map((tab) => tab.id);
|
const idList = tabs.map((tab) => tab.id);
|
||||||
const reduxPanelId =
|
const reduxPanelId =
|
||||||
'chrome-extension://lmhkpmbekcpmknklioeibfkpmmfibljdRedux';
|
'chrome-extension://lmhkpmbekcpmknklioeibfkpmmfibljdRedux';
|
||||||
if (idList.indexOf(reduxPanelId) !== -1) {
|
if (idList.indexOf(reduxPanelId) !== -1) {
|
||||||
UI.inspectorView.showPanel(reduxPanelId);
|
EUI.inspectorView.showPanel(reduxPanelId);
|
||||||
return callback(reduxPanelId);
|
return callback(reduxPanelId);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user