Skip to content

Commit 7e19e81

Browse files
committed
Fix tests
1 parent 26f3852 commit 7e19e81

File tree

2 files changed

+2
-11
lines changed

2 files changed

+2
-11
lines changed

extension/test/app/containers/App.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React from 'react';
22
import { render, screen, within } from '@testing-library/react';
33
import { Provider } from 'react-redux';
4-
import configureStore from '../../../src/window/store/windowStore';
4+
import configureStore from '../../../src/devpanel/store/panelStore';
55
import App from '../../../src/app/App';
66

77
Object.defineProperty(window, 'matchMedia', {

extension/test/app/inject/api.spec.js

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,7 @@ describe('API', () => {
2020
expect(message).toEqual({
2121
source: '@devtools-page',
2222
type: 'OPEN',
23-
position: 'right',
24-
});
25-
26-
message = await listenMessage(() => {
27-
window.__REDUX_DEVTOOLS_EXTENSION__.open('left');
28-
});
29-
expect(message).toEqual({
30-
source: '@devtools-page',
31-
type: 'OPEN',
32-
position: 'left',
23+
position: 'window',
3324
});
3425
});
3526

0 commit comments

Comments
 (0)