File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -211,8 +211,8 @@ var tests = [
211
211
} ,
212
212
{
213
213
should : 'localize keyframes' ,
214
- input : '@keyframes foo {}' ,
215
- expected : '@keyframes :local(foo) {}'
214
+ input : '@keyframes foo { from { color: red; } to { color: blue; } }' ,
215
+ expected : '@keyframes :local(foo) { from { color: red; } to { color: blue; } }'
216
216
} ,
217
217
{
218
218
should : 'localize keyframes in global default mode' ,
@@ -222,8 +222,8 @@ var tests = [
222
222
} ,
223
223
{
224
224
should : 'localize explicit keyframes' ,
225
- input : '@keyframes :local(foo) {} @-webkit-keyframes :global(bar) {}' ,
226
- expected : '@keyframes :local(foo) {} @-webkit-keyframes bar {}'
225
+ input : '@keyframes :local(foo) { 0% { color: red; } 100% { color: blue; } } @-webkit-keyframes :global(bar) { from { color: red; } to { color: blue; } }' ,
226
+ expected : '@keyframes :local(foo) { 0% { color: red; } 100% { color: blue; } } @-webkit-keyframes bar { from { color: red; } to { color: blue; } }'
227
227
} ,
228
228
{
229
229
should : 'ignore :export statements' ,
You can’t perform that action at this time.
0 commit comments