jamesshore / quixote

CSS unit and integration testing

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

support for keyframes / animations?

evbo opened this issue · comments

commented

Just getting started learning about quixote and I'm not seeing examples for testing keyframes of css animations.

Animations I know would be quite challenging to unit test, there'd need to be some way of evaluating the result at different time intervals.

Unfortunately I'm only doing animations and looking for test support. So is this use-case in scope with what Quixote intends to provide (long term)?

It's in scope, but I'm not sure if it's possible. I haven't investigated it at all.

commented

@woldie cool! Similarly I'm looking into Rekapi. Although this is a CSS-in-JS approach, it actually spits the results back out as CSS, so it would afford me the opportunity to unit test just as plain old JS, with only a slight bottleneck when transpiling the CSS from JS upon page load.