Skip to content

Commit 01e7acb

Browse files
committed
Resolve deprecation warning in PythonRunner.test.js
By following the instructions on https://react.dev/warnings/react-dom-test-utils.
1 parent a7edbbb commit 01e7acb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Editor/Runners/PythonRunner/PythonRunner.test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { render, within } from "@testing-library/react";
22
import { Provider } from "react-redux";
3-
import { act } from "react-dom/test-utils";
3+
import { act } from "react";
44
import PythonRunner from "./PythonRunner";
55
import {
66
triggerCodeRun,

0 commit comments

Comments
 (0)