react-dom tests: Add missing import of 'experimental' (#40669)

This commit is contained in:
Nathan Shively-Sanders 2019-11-26 09:56:02 -08:00 committed by GitHub
parent e2690999da
commit 6323ec4f01
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,6 @@
import React = require('react');
import ReactDOM = require('react-dom');
import 'react-dom/experimental';
function createRoot() {
const root = ReactDOM.createRoot(document);