Skip to content

Commit 24b829f

Browse files
committed
test: update snapshot
1 parent 54f091c commit 24b829f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tests/__snapshots__/transform.test.ts.snap

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,11 @@ exports[`CSS Modules > should transform CSS Modules 1`] = `
55
.dummy_dummy_button{color:red;bakcground-color:blue}
66
77
// index.js
8-
const button = "dummy_button";
8+
const classes = {"button":"dummy_button"};
99
10-
const btn = document.createElement('div').classList.add(button);
10+
const _button0 = classes["button"];
11+
12+
const btn = document.createElement('div').classList.add(_button0);
1113
document.body.append(btn);
1214
"
1315
`;

0 commit comments

Comments
 (0)