Skip to content

Commit

Permalink
Replace ReactShallowRenderer with a dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
NMinhNguyen committed Feb 27, 2020
1 parent 2738b6d commit 3c43ac1
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 860 deletions.
1 change: 1 addition & 0 deletions packages/react-test-renderer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"object-assign": "^4.1.1",
"prop-types": "^15.6.2",
"react-is": "^16.8.6",
"react-shallow-renderer": "^16.12.0",
"scheduler": "^0.19.0"
},
"peerDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/react-test-renderer/shallow.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

'use strict';

const ReactShallowRenderer = require('./src/ReactShallowRenderer');
const ReactShallowRenderer = require('react-shallow-renderer');

// TODO: decide on the top-level export form.
// This is hacky but makes it work with both Rollup and Jest.
Expand Down
Loading

0 comments on commit 3c43ac1

Please sign in to comment.