We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7e4d0d commit 153a116Copy full SHA for 153a116
test/runtime/samples/transition-css-in-out-in-with-static/_config.js
@@ -16,8 +16,15 @@ export default {
16
raf.tick(75);
17
component.visible = true;
18
19
- // reset original styles
+ // reset to in styles (in transition in progress)
20
assert.equal(div.style.animation, '__svelte_3809512021_1 100ms linear 0ms 1 both');
21
assert.equal(div.className, '__svelte_2375698960');
22
+
23
+ // 100ms after in transition started at 75
24
+ raf.tick(175);
25
26
+ // reset original styles after in transition is complete
27
+ assert.equal(div.style.animation, '');
28
+ assert.equal(div.className, '');
29
}
30
};
0 commit comments