Skip to content

Commit 7cecaf5

Browse files
committed
Readjust text with includeAttributes
1 parent 8a9a079 commit 7cecaf5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/scopedFixtures/stylesAttribute.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ describe('Scoped Mode', () => {
108108
source: `<style module="scoped">.red { color: red; }</style><span class="red" data-color="red">Red</span>`
109109
}, {
110110
localIdentName: '[local]-123',
111-
allowedAttributes: ['data-color'],
111+
includeAttributes: ['data-color'],
112112
});
113113
expect(output).toBe(`<style module="scoped">.red-123 { color: red; }</style><span class="red-123" data-color="red-123">Red</span>`);
114114
});

0 commit comments

Comments
 (0)