We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d18fc89 commit 184bde0Copy full SHA for 184bde0
tests/index.js
@@ -351,23 +351,4 @@ describe('rc-queue-anim', () => {
351
}, 17);
352
}, 1000);
353
});
354
-
355
- it('will un mount', (done) => {
356
- const instance = createQueueAnimInstance({
357
- animConfig(e) {
358
- if (e.index === 1) {
359
- return { top: [100, 0] };
360
- }
361
- return { left: [100, 0] };
362
- },
363
- });
364
- setTimeout(() => {
365
- let children = TestUtils.scryRenderedDOMComponentsWithTag(instance, 'div');
366
- expect(children.length).to.be(4);
367
- instance.unMountQueue();
368
- children = TestUtils.scryRenderedDOMComponentsWithTag(instance, 'div');
369
- expect(children.length).to.be(0);
370
- done();
371
- }, 100);
372
373
0 commit comments