Skip to content
This repository has been archived by the owner on Jan 16, 2023. It is now read-only.

Commit

Permalink
chore(tests): fix failing Container test
Browse files Browse the repository at this point in the history
  • Loading branch information
anthony-dandrea committed May 12, 2021
1 parent 63feb8a commit a260f32
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions __tests__/Container.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,7 @@ describe('<Container/>', () => {
describe('when terminal is true', () => {
it('should contains a decorators.Header into their children', () => {
const wrapper = renderComponent({terminal: true});
expect(
wrapper
.children()
.contains(
<decorators.Header node={data} style={style.tree.node.header}/>
)
).toBe(true);
expect(wrapper.find('Header').dive().text()).toBe('react-treebeard');
});
});
describe('when terminal is false', () => {
Expand Down

0 comments on commit a260f32

Please sign in to comment.