Skip to content

Commit 0e65878

Browse files
committed
Temporarily disable www-modern entry point
Use the main one that has all the exports until we fix more tests.
1 parent ef91185 commit 0e65878

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

scripts/jest/setupHostConfigs.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ function resolveEntryFork(resolvedEntry, isFBBundle) {
1313
// .js
1414

1515
if (isFBBundle) {
16+
if (__EXPERIMENTAL__) {
17+
// We can't currently use the true modern entry point because too many tests fail.
18+
// TODO: Fix tests to not use ReactDOM.render or gate them. Then we can remove this.
19+
return resolvedEntry;
20+
}
1621
const resolvedFBEntry = resolvedEntry.replace(
1722
'.js',
1823
__EXPERIMENTAL__ ? '.modern.fb.js' : '.classic.fb.js'

0 commit comments

Comments
 (0)