Ah, brilliant! One issue is that I'm now not sure how to test this as the test runner does not have the CSS animations and I'm not sure how to trigger the 'transitionend' in the test so it times out. Any suggestions?