File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -904,22 +904,25 @@ describe('@apply', () => {
904904 }
905905 `
906906
907- let compiler = await compile ( input )
908- expect ( compiler . build ( [ ] ) ) . toMatchInlineSnapshot ( `
909- ".foo {
910- text-decoration-line: underline;
911- @apply --my-mixin-1;
912- @apply --my-mixin-1();
913- @apply --my-mixin-1 --my-mixin-2;
914- @apply --my-mixin-1() --my-mixin-2();
915- @apply --my-mixin-3 {
916- color: red;
907+ // TODO: once Lightning CSS properly supports it, then we can drop this section:
908+ {
909+ let compiler = await compile ( input )
910+ expect ( compiler . build ( [ ] ) ) . toMatchInlineSnapshot ( `
911+ ".foo {
912+ text-decoration-line: underline;
913+ @apply --my-mixin-1;
914+ @apply --my-mixin-1();
915+ @apply --my-mixin-1 --my-mixin-2;
916+ @apply --my-mixin-1() --my-mixin-2();
917+ @apply --my-mixin-3 {
918+ color: red;
919+ }
917920 }
918- }
919- "
920- ` )
921+ "
922+ ` )
923+ }
921924
922- // TODO: This output is currently broken because Lightning CSS doesn't
925+ // TODO: this output is currently broken because Lightning CSS doesn't
923926 // handle this case correctly yet
924927 expect ( await compileCss ( input ) ) . toMatchInlineSnapshot ( `
925928 ".foo {
You can’t perform that action at this time.
0 commit comments