File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -227,11 +227,11 @@ module.exports = (opts = {}) => {
227
227
228
228
let nodes = child . nodes
229
229
if ( child . params ) {
230
- nodes = new Rule ( { selector : child . params , nodes } )
230
+ nodes = [ new Rule ( { selector : child . params , nodes : child . nodes } ) ]
231
231
}
232
232
233
233
after . after ( nodes )
234
- after = nodes
234
+ after = nodes [ nodes . length - 1 ]
235
235
child . remove ( )
236
236
} else if ( bubble [ child . name ] ) {
237
237
copyDeclarations = true
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ test('at-root short hand', () => {
47
47
run ( 'a { & {} @at-root b { } }' , 'a {} b {}' )
48
48
} )
49
49
50
- test . skip ( 'hoists multiple at-roots' , ( ) => {
50
+ test ( 'hoists multiple at-roots' , ( ) => {
51
51
run (
52
52
`a {
53
53
& {}
@@ -66,7 +66,7 @@ test.skip('hoists multiple at-roots', () => {
66
66
)
67
67
} )
68
68
69
- test . skip ( 'hoists at-root and media siblings' , ( ) => {
69
+ test ( 'hoists at-root and media siblings' , ( ) => {
70
70
run (
71
71
`a {
72
72
& {}
You can’t perform that action at this time.
0 commit comments