mirror of
https://github.com/jbranchaud/til
synced 2026-01-04 23:58:01 +00:00
Add a link to the latest til
This commit is contained in:
@@ -12,8 +12,9 @@ const HelloContainer = (props) => (
|
|||||||
);
|
);
|
||||||
```
|
```
|
||||||
|
|
||||||
If we are to shallow render the above component using Enzyme, we'll only see
|
If we are to [shallow render the above component using
|
||||||
things one layer deep:
|
Enzyme](http://airbnb.io/enzyme/docs/api/ShallowWrapper/shallow.html), we'll
|
||||||
|
only see things one layer deep:
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
const wrapper = shallow(<HelloContainer name="World" />);
|
const wrapper = shallow(<HelloContainer name="World" />);
|
||||||
|
|||||||
Reference in New Issue
Block a user