test(css_animate): fix analyzer warning

Remove un-needed code that caused an analyzer warning.

Closes #1287