Skip to content

Commit

Permalink
[Slide] Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
eps1lon committed Feb 12, 2019
1 parent 9cdb582 commit 7b2cae2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/material-ui/src/Slide/Slide.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ describe('<Slide />', () => {
);
const transition = wrapper.instance().transitionRef;

assert.strictEqual(transition.style.visibility, 'inherit');
assert.strictEqual(transition.style.visibility, 'hidden');
assert.notStrictEqual(transition.style.transform, undefined);
});
});
Expand Down Expand Up @@ -304,7 +304,7 @@ describe('<Slide />', () => {
describe('server-side', () => {
it('should be initially hidden', () => {
const wrapper = shallow(<Slide {...defaultProps} in={false} />);
assert.strictEqual(wrapper.find(Transition).props().style.visibility, 'hidden');
assert.strictEqual(wrapper.find(Transition).childAt(0).props().style.visibility, 'hidden');
});
});
});

0 comments on commit 7b2cae2

Please sign in to comment.