Kill off enzyme in preference of react testing library (#10255)
This commit is contained in:
@@ -15,14 +15,8 @@ limitations under the License.
|
||||
*/
|
||||
|
||||
import "@testing-library/jest-dom";
|
||||
import Adapter from "@wojtekmaj/enzyme-adapter-react-17";
|
||||
// eslint-disable-next-line deprecate/import
|
||||
import { configure } from "enzyme";
|
||||
import "blob-polyfill"; // https://github.com/jsdom/jsdom/issues/2555
|
||||
|
||||
// Enable the enzyme mocks
|
||||
configure({ adapter: new Adapter() });
|
||||
|
||||
// Very carefully enable the mocks for everything else in
|
||||
// a specific order. We use this order to ensure we properly
|
||||
// establish an application state that actually works.
|
||||
|
||||
Reference in New Issue
Block a user