Skip to content

Commit d2ece82

Browse files
committed
Float is currently being tested only with the external runtime. This runtime is unstable and should not be part of stable builds and we should still be testing the integrated Fizz runtime. This change forks the Float tests to ensure we test with and without the external Fizz runtime
1 parent d50323e commit d2ece82

File tree

5 files changed

+8493
-8382
lines changed

5 files changed

+8493
-8382
lines changed

.eslintrc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ module.exports = {
336336
'packages/eslint-plugin-react-hooks/**/*.js',
337337
'packages/jest-react/**/*.js',
338338
'packages/internal-test-utils/**/*.js',
339-
'packages/**/__tests__/*.js',
339+
'packages/**/__tests__/**/*.js',
340340
'packages/**/npm/*.js',
341341
],
342342
rules: {
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
/**
2+
* Copyright (c) Meta Platforms, Inc. and affiliates.
3+
*
4+
* This source code is licensed under the MIT license found in the
5+
* LICENSE file in the root directory of this source tree.
6+
*
7+
* @emails react-core
8+
* @jest-environment ./scripts/jest/ReactDOMServerIntegrationEnvironment
9+
*/
10+
11+
'use strict';
12+
13+
import {runTests} from './impl/ReactDOMFloat-test.impl';
14+
15+
const usingExternalRuntime = true;
16+
runTests(usingExternalRuntime);

0 commit comments

Comments
 (0)