Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
gaearon committed Mar 15, 2019
1 parent 0dbe1fd commit 2230fab
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -1518,7 +1518,7 @@ describe('ReactShallowRenderer', () => {
const shallowRenderer = createRenderer();
shallowRenderer.render(<SomeComponent foo={1} />);
expect(areEqual).not.toHaveBeenCalled();
expect(shallowRenderer.getRenderOutput()).toEqual(<div>1</div>);
expect(shallowRenderer.getRenderOutput()).toEqual(<div>{1}</div>);
});

it('should handle memo(forwardRef())', () => {
Expand Down

1 comment on commit 2230fab

@aweary
Copy link
Contributor

@aweary aweary commented on 2230fab Mar 15, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤦‍♂️

Please sign in to comment.