Skip to content

Commit 496a618

Browse files
committed
Passing React 16.5
1 parent d2037a0 commit 496a618

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

packages/react-devtools-shared/src/__tests__/storeComponentFilters-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ describe('Store component filters', () => {
134134
`);
135135
});
136136

137-
// @reactVersion >= 16.0
137+
// @reactVersion >= 16.6
138138
it('should filter Suspense', async () => {
139139
const Suspense = React.Suspense;
140140
await actAsync(async () =>

scripts/jest/preprocessor.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,10 @@ module.exports = {
9191
]);
9292
} else {
9393
plugins.push(
94-
require.resolve('@babel/plugin-transform-react-jsx'),
94+
[
95+
require.resolve('@babel/plugin-transform-react-jsx'),
96+
{runtime: 'classic'},
97+
],
9598
require.resolve('@babel/plugin-transform-react-jsx-source')
9699
);
97100
}

0 commit comments

Comments
 (0)