Skip to content

Commit 270ee7f

Browse files
nfcamposljharb
authored andcommitted
Remove unnecessary tests
see PR #878 for explanation
1 parent d6badda commit 270ee7f

File tree

2 files changed

+0
-31
lines changed

2 files changed

+0
-31
lines changed

test/ReactWrapper-spec.jsx

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3304,19 +3304,6 @@ describeWithDOM('mount', () => {
33043304
expect(wrapper.name()).to.equal('SFC');
33053305
});
33063306
});
3307-
3308-
describe('createClass', () => {
3309-
it('should return the name of the node', () => {
3310-
const Foo = createClass({
3311-
render() {
3312-
return <div />;
3313-
},
3314-
});
3315-
3316-
const wrapper = mount(<Foo />);
3317-
expect(wrapper.name()).to.equal('Foo');
3318-
});
3319-
});
33203307
});
33213308

33223309
describe('DOM node', () => {

test/ShallowWrapper-spec.jsx

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -3953,24 +3953,6 @@ describe('shallow', () => {
39533953
expect(wrapper.name()).to.equal('SFC');
39543954
});
39553955
});
3956-
3957-
describe('createClass', () => {
3958-
it('should return the name of the node', () => {
3959-
const Foo = createClass({
3960-
render() {
3961-
return <div />;
3962-
},
3963-
});
3964-
const Wrapper = createClass({
3965-
render() {
3966-
return <Foo />;
3967-
},
3968-
});
3969-
3970-
const wrapper = shallow(<Wrapper />);
3971-
expect(wrapper.name()).to.equal('Foo');
3972-
});
3973-
});
39743956
});
39753957

39763958
describe('DOM node', () => {

0 commit comments

Comments
 (0)