Bug 1874363 - [devtools] Remove build-debugger react-redux mappings. r=devtools-reviewers,ochameau.

Differential Revision: https://phabricator.services.mozilla.com/D198415
This commit is contained in:
Nicolas Chevobbe 2024-01-16 08:31:01 +00:00
Родитель c1d232e118
Коммит 7f5a525da9
4 изменённых файлов: 3 добавлений и 4 удалений

Просмотреть файл

@ -4,7 +4,7 @@
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
import React from "react";
import { Provider } from "react-redux";
import { Provider } from "devtools/client/shared/vendor/react-redux";
import configureStore from "redux-mock-store";
import { shallow, mount } from "enzyme";
import { getDisplayURL } from "../../utils/sources-tree/getURL";

Просмотреть файл

@ -8,7 +8,7 @@ import {
combineReducers,
} from "devtools/client/shared/vendor/redux";
import ReactDOM from "react-dom";
const { Provider } = require("react-redux");
const { Provider } = require("devtools/client/shared/vendor/react-redux");
import ToolboxProvider from "devtools/client/framework/store-provider";
import flags from "devtools/shared/flags";

Просмотреть файл

@ -2,6 +2,6 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
import { connect as reduxConnect } from "react-redux";
import { connect as reduxConnect } from "devtools/client/shared/vendor/react-redux";
export const connect = reduxConnect;

Просмотреть файл

@ -12,7 +12,6 @@ const mappings = {
react: "devtools/client/shared/vendor/react",
"react-dom": "devtools/client/shared/vendor/react-dom",
"react-dom-factories": "devtools/client/shared/vendor/react-dom-factories",
"react-redux": "devtools/client/shared/vendor/react-redux",
"prop-types": "devtools/client/shared/vendor/react-prop-types",
"wasmparser/dist/cjs/WasmParser": "devtools/client/shared/vendor/WasmParser",
"wasmparser/dist/cjs/WasmDis": "devtools/client/shared/vendor/WasmDis",