mirror of
https://github.com/facebookarchive/prepack.git
synced 2024-10-27 07:41:52 +03:00
21 lines
555 B
JavaScript
21 lines
555 B
JavaScript
|
/**
|
||
|
* Copyright (c) 2017-present, Facebook, Inc.
|
||
|
* All rights reserved.
|
||
|
*
|
||
|
* This source code is licensed under the BSD-style license found in the
|
||
|
* LICENSE file in the root directory of this source tree. An additional grant
|
||
|
* of patent rights can be found in the PATENTS file in the same directory.
|
||
|
*/
|
||
|
|
||
|
/* @flow */
|
||
|
|
||
|
const setupReactTests = require("./setupReactTests");
|
||
|
const { runTest } = setupReactTests();
|
||
|
|
||
|
/* eslint-disable no-undef */
|
||
|
const { it } = global;
|
||
|
|
||
|
it("createPortal", () => {
|
||
|
runTest(__dirname + "/ReactDOM/create-portal.js");
|
||
|
});
|