Skip to content

Commit

Permalink
Remove unnecessary tests
Browse files Browse the repository at this point in the history
see PR #878 for explanation
  • Loading branch information
nfcampos authored and ljharb committed Apr 12, 2017
1 parent d6badda commit 270ee7f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 31 deletions.
13 changes: 0 additions & 13 deletions test/ReactWrapper-spec.jsx
Expand Up @@ -3304,19 +3304,6 @@ describeWithDOM('mount', () => {
expect(wrapper.name()).to.equal('SFC');
});
});

describe('createClass', () => {
it('should return the name of the node', () => {
const Foo = createClass({
render() {
return <div />;
},
});

const wrapper = mount(<Foo />);
expect(wrapper.name()).to.equal('Foo');
});
});
});

describe('DOM node', () => {
Expand Down
18 changes: 0 additions & 18 deletions test/ShallowWrapper-spec.jsx
Expand Up @@ -3953,24 +3953,6 @@ describe('shallow', () => {
expect(wrapper.name()).to.equal('SFC');
});
});

describe('createClass', () => {
it('should return the name of the node', () => {
const Foo = createClass({
render() {
return <div />;
},
});
const Wrapper = createClass({
render() {
return <Foo />;
},
});

const wrapper = shallow(<Wrapper />);
expect(wrapper.name()).to.equal('Foo');
});
});
});

describe('DOM node', () => {
Expand Down

0 comments on commit 270ee7f

Please sign in to comment.