File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,10 @@ describe('Basic functionality', () => {
4141 it ( 'does not apply if computed namespace is falsy' , ( ) => {
4242 transformSnapshot ( '.foo {}' , { namespace : file => ! ! file } )
4343 } )
44+
45+ it ( 'works with multiple namespaces' , ( ) => {
46+ transformSnapshot ( '.selector {}' , { namespace : '.foo, .bar' } )
47+ } )
4448} )
4549
4650describe ( ':root' , ( ) => {
Original file line number Diff line number Diff line change @@ -80,6 +80,8 @@ exports[`Basic functionality works with a regexp which matches multiple selector
8080"
8181` ;
8282
83+ exports [` Basic functionality works with multiple namespaces 1` ] = ` ".foo .selector, .bar .selector { } "` ;
84+
8385exports [` SCSS @for does work with @for and nested @for rules 1` ] = `
8486".my-component .pony {
8587 @for $i from 1 through 3 {
You can’t perform that action at this time.
0 commit comments