mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-26 07:59:48 +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) {
|
||||
return callback('Redux panel not found');
|
||||
}
|
||||
if (UI.inspectorView) {
|
||||
const tabs = UI.inspectorView.tabbedPane.tabs;
|
||||
if (EUI.inspectorView) {
|
||||
const tabs = EUI.inspectorView.tabbedPane.tabs;
|
||||
const idList = tabs.map((tab) => tab.id);
|
||||
const reduxPanelId =
|
||||
'chrome-extension://lmhkpmbekcpmknklioeibfkpmmfibljdRedux';
|
||||
if (idList.indexOf(reduxPanelId) !== -1) {
|
||||
UI.inspectorView.showPanel(reduxPanelId);
|
||||
EUI.inspectorView.showPanel(reduxPanelId);
|
||||
return callback(reduxPanelId);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user