@@ -14,14 +14,24 @@ describe("camelCase", function() {
14
14
] ,
15
15
dashes : [
16
16
[ 1 , "._1L-rnCOXCE_7H94L5XT4uB { color: blue; }" , "" ]
17
+ ] ,
18
+ withoutOnly : [
19
+ [ 1 , "._1L-rnCOXCE_7H94L5XT4uB { color: blue; }" , "" ]
20
+ ] ,
21
+ dashesOnly : [
22
+ [ 1 , "._1L-rnCOXCE_7H94L5XT4uB { color: blue; }" , "" ]
17
23
]
18
24
} ;
19
25
exports . with . locals = { 'btn-info_is-disabled' : '_1L-rnCOXCE_7H94L5XT4uB' } ;
20
26
exports . without . locals = { btnInfoIsDisabled : '_1L-rnCOXCE_7H94L5XT4uB' , 'btn-info_is-disabled' : '_1L-rnCOXCE_7H94L5XT4uB' } ;
21
27
exports . dashes . locals = { btnInfo_isDisabled : '_1L-rnCOXCE_7H94L5XT4uB' , 'btn-info_is-disabled' : '_1L-rnCOXCE_7H94L5XT4uB' } ;
28
+ exports . withoutOnly . locals = { btnInfoIsDisabled : '_1L-rnCOXCE_7H94L5XT4uB' } ;
29
+ exports . dashesOnly . locals = { btnInfo_isDisabled : '_1L-rnCOXCE_7H94L5XT4uB' } ;
22
30
test ( "with" , css , exports . with , "?modules" ) ;
23
31
test ( "without" , css , exports . without , "?modules&camelCase" ) ;
24
32
test ( "dashes" , css , exports . dashes , "?modules&camelCase=dashes" ) ;
33
+ test ( "withoutOnly" , css , exports . withoutOnly , "?modules&camelCase=only" ) ;
34
+ test ( "dashesOnly" , css , exports . dashesOnly , "?modules&camelCase=dashesOnly" ) ;
25
35
26
36
testRaw ( "withoutRaw" , '.a {}' , 'exports.locals = {\n\t"a": "_1buUQJccBRS2-2i27LCoDf"\n};' , "?modules&camelCase" ) ;
27
37
testRaw ( "dashesRaw" , '.a {}' , 'exports.locals = {\n\t"a": "_1buUQJccBRS2-2i27LCoDf"\n};' , "?modules&camelCase=dashes" ) ;
0 commit comments