Skip to content

Commit 62ea473

Browse files
[Tests] remove duplicate test
1 parent 146467c commit 62ea473

File tree

1 file changed

+0
-9
lines changed
  • packages/enzyme-test-suite/test/shared/methods

1 file changed

+0
-9
lines changed

packages/enzyme-test-suite/test/shared/methods/single.jsx

-9
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,6 @@ export default function describeSingle({
2727
);
2828
});
2929

30-
it('throws if run on zero nodes', () => {
31-
const wrapper = Wrap(<div />).children();
32-
expect(wrapper).to.have.lengthOf(0);
33-
expect(() => wrapper.single('name!')).to.throw(
34-
Error,
35-
'Method “name!” is meant to be run on 1 node. 0 found instead.',
36-
);
37-
});
38-
3930
it('works with a name', () => {
4031
const wrapper = Wrap(<div />);
4132
wrapper.single('foo', (node) => {

0 commit comments

Comments
 (0)