Skip to content

Commit

Permalink
fix(react): migrate react-test-renderer correctly (#9811)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaysoo authored and FrozenPandaz committed Apr 13, 2022
1 parent 7365438 commit 8886f0f
Showing 1 changed file with 4 additions and 3 deletions.
@@ -1,7 +1,7 @@
import {
addDependenciesToPackageJson,
readJson,
logger,
readJson,
Tree,
} from '@nrwl/devkit';

Expand All @@ -24,9 +24,10 @@ export async function updateToReact18(host: Tree) {
react: '18.0.0',
'react-dom': '18.0.0',
'react-is': '18.0.0',
'react-test-renderer': '18.0.0',
},
{}
{
'react-test-renderer': '18.0.0',
}
);
}
}
Expand Down

0 comments on commit 8886f0f

Please sign in to comment.