Skip to content

Commit edf0a81

Browse files
committed
Test for negative condition
1 parent 34fd8af commit edf0a81

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/test.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ describe('<Console />', function() {
126126
it('Has class `react-console-focus` on mount when autofocus=true', function() {
127127
var wrapper = enzyme.mount(<Console autofocus={true}/>);
128128
expect(wrapper.find('.react-console-focus')).length(1);
129+
expect(wrapper.find('.react-console-nofocus')).length(0);
129130
});
130131
});
131132
describe('[Property] welcomeMessage: ', function () {

0 commit comments

Comments
 (0)