Skip to content

Commit

Permalink
Automatically install rtl version with concurrent rendering support
Browse files Browse the repository at this point in the history
  • Loading branch information
eps1lon committed Jun 30, 2021
1 parent 7199f3d commit b70a8bf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/use-react-dist-tag.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ async function main(options) {

packageJson.devDependencies['@eps1lon/enzyme-adapter-react-17'] =
'npm:@eps1lon/enzyme-adapter-react-next';
packageJson.devDependencies['@testing-library/react'] =
'https://pkg.csb.dev/testing-library/react-testing-library/commit/0e2cf7da/@testing-library/react';

// add newline for clean diff
fs.writeFileSync(packageJsonPath, `${JSON.stringify(packageJson, null, 2)}${os.EOL}`);
Expand Down

0 comments on commit b70a8bf

Please sign in to comment.