mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-26 07:59:48 +03:00
Update tests
This commit is contained in:
parent
790be9efed
commit
2e219eb11e
|
@ -1,8 +1,8 @@
|
|||
import React from 'react';
|
||||
import { render, screen, within } from '@testing-library/react';
|
||||
import { Provider } from 'react-redux';
|
||||
import configureStore from '../../../src/app/stores/windowStore';
|
||||
import App from '../../../src/app/containers/App';
|
||||
import configureStore from '../../../src/window/store/windowStore';
|
||||
import App from '../../../src/app/App';
|
||||
|
||||
Object.defineProperty(window, 'matchMedia', {
|
||||
writable: true,
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { insertScript, listenMessage } from '../../utils/inject';
|
||||
import '../../../src/browser/extension/inject/pageScript';
|
||||
import '../../../src/pageScript';
|
||||
|
||||
describe('API', () => {
|
||||
it('should get window.__REDUX_DEVTOOLS_EXTENSION__ function', () => {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import '@babel/polyfill';
|
||||
import { createStore, compose } from 'redux';
|
||||
import { insertScript, listenMessage } from '../../utils/inject';
|
||||
import '../../../src/browser/extension/inject/pageScript';
|
||||
import '../../../src/pageScript';
|
||||
|
||||
function counter(state = 0, action) {
|
||||
switch (action.type) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user