export default { test ( { assert , component , target , raf } ) { component . visible = true ; const div = target . querySelector ( 'div' ) ; assert . equal ( div . style . animation , '__svelte_1670736059_0 10ms linear 0ms 1 both' ) ; component . visible = false ; assert . equal ( div . style . animation , '__svelte_1670736059_0 10ms linear 0ms 1 both, __svelte_1998461463_0 5ms linear 0ms 1 both' ) ; raf . tick ( 1 ) ; component . param = true ; component . visible = true ; assert . equal ( div . style . animation , '__svelte_722598827_0 20ms linear 0ms 1 both' ) ; } } ;