|
3 | 3 | var test = require("./helpers").test;
|
4 | 4 |
|
5 | 5 | describe("camelCase", function() {
|
6 |
| - var css = ".btn-info { color: blue; }"; |
| 6 | + var css = ".btn-info_is-disabled { color: blue; }"; |
7 | 7 | var exports = {
|
8 | 8 | with: [
|
9 |
| - [1, ".Vh87YsUQA8A0EbntSqs6 { color: blue; }", ""] |
| 9 | + [1, "._1L-rnCOXCE_7H94L5XT4uB { color: blue; }", ""] |
10 | 10 | ],
|
11 | 11 | without: [
|
12 |
| - [1, ".Vh87YsUQA8A0EbntSqs6 { color: blue; }", ""] |
| 12 | + [1, "._1L-rnCOXCE_7H94L5XT4uB { color: blue; }", ""] |
| 13 | + ], |
| 14 | + dashes: [ |
| 15 | + [1, "._1L-rnCOXCE_7H94L5XT4uB { color: blue; }", ""] |
13 | 16 | ]
|
14 | 17 | };
|
15 |
| - exports.with.locals = {'btn-info': 'Vh87YsUQA8A0EbntSqs6'}; |
16 |
| - exports.without.locals = {btnInfo: 'Vh87YsUQA8A0EbntSqs6', 'btn-info': 'Vh87YsUQA8A0EbntSqs6'}; |
| 18 | + exports.with.locals = {'btn-info_is-disabled': '_1L-rnCOXCE_7H94L5XT4uB'}; |
| 19 | + exports.without.locals = {btnInfoIsDisabled: '_1L-rnCOXCE_7H94L5XT4uB', 'btn-info_is-disabled': '_1L-rnCOXCE_7H94L5XT4uB'}; |
| 20 | + exports.dashes.locals = {btnInfo_isDisabled: '_1L-rnCOXCE_7H94L5XT4uB', 'btn-info_is-disabled': '_1L-rnCOXCE_7H94L5XT4uB'}; |
17 | 21 | test("with", css, exports.with, "?modules");
|
18 | 22 | test("without", css, exports.without, "?modules&camelCase");
|
| 23 | + test("dashes", css, exports.dashes, "?modules&camelCase=dashes"); |
19 | 24 | });
|
0 commit comments