Skip to content

Commit bb4bec6

Browse files
committed
Adjust input/expected pair of specs more properly which includes local variables like keyframe name
1 parent e5129c1 commit bb4bec6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,9 +194,9 @@ const tests = [
194194
{
195195
should:
196196
'not treat animation curve as identifier of animation name even if it separated by comma',
197-
input: '.foo { animation: 1s normal ease-out infinite, 1s normal ease-out infinite; }',
197+
input: '.foo { animation: slide-right 300ms forwards ease-out, fade-in 300ms forwards ease-out; }',
198198
expected:
199-
':local(.foo) { animation: 1s normal ease-out infinite, 1s normal ease-out infinite; }'
199+
':local(.foo) { animation: :local(slide-right) 300ms forwards ease-out, :local(fade-in) 300ms forwards ease-out; }'
200200
},
201201
{
202202
should: 'handle animations with custom timing functions',

0 commit comments

Comments
 (0)