I was testing a component I built that uses em-flickity as a child component. When that component would destroy itself, stray events from em-flickity fire after em-flickity destroyed itself and cause test failures.
Solution
I added event cleaning logic to the component and added tests.
The Problem
I was testing a component I built that uses
em-flickity
as a child component. When that component would destroy itself, stray events fromem-flickity
fire afterem-flickity
destroyed itself and cause test failures.Solution
I added event cleaning logic to the component and added tests.
@dylanfoster could you please review?