Skip to content

Commit

Permalink
Fix tests with React 16
Browse files Browse the repository at this point in the history
  • Loading branch information
goto-bus-stop committed Jun 30, 2024
1 parent 51e4aa0 commit bfb774f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/util/render.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@
* https://github.com/troybetz/react-youtube
*/

import 'min-react-env/install';
import React from 'react';
import ReactDOM from 'react-dom';
import { act } from 'react-dom/test-utils';
// Doing this after React is loaded makes React do a bit less DOM work
import 'min-react-env/install';
import env from 'min-react-env';
import createVimeo from './createVimeo';

Expand Down

0 comments on commit bfb774f

Please sign in to comment.