Skip to content

Commit 152e5a8

Browse files
committed
Rewrite button tests to match new position prop requirement
1 parent b6bd7ef commit 152e5a8

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

tests/SLDSButton/button.test.jsx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,6 @@ describe('SLDSButton: ', function(){
4949
expect(size).to.not.equal(undefined);
5050
});
5151

52-
it('without prop specified, renders icon position on left side', function() {
53-
let button = generateButton(<SLDSButton label='Test' iconName='download' />);
54-
let position = button.getElementsByClassName("slds-button__icon--left")[0];
55-
expect(position).to.not.equal(undefined);
56-
});
57-
5852
it('renders icon position', function() {
5953
let button = generateButton(<SLDSButton label='Test' iconName='download' iconPosition='right' />);
6054
let position = button.getElementsByClassName("slds-button__icon--right")[0];

0 commit comments

Comments
 (0)