Skip to content

Commit 738ee11

Browse files
authored
test: fix a broken icon test case (#6458)
1 parent 38b5dc4 commit 738ee11

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎packages/icon/test/icon-font.test.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ describe('vaadin-icon - icon fonts', () => {
251251
});
252252

253253
it('should set font-family with numbers for the icon element', () => {
254-
icon = fixtureSync('<vaadin-icon char="\\e900"></vaadin-icon>');
254+
icon = fixtureSync('<vaadin-icon char="e900"></vaadin-icon>');
255255
icon.fontFamily = 'My icons 6';
256256
const fontIconStyle = getComputedStyle(icon, ':before');
257257
expect(['"My icons 6"', 'My icons 6']).to.include(fontIconStyle.fontFamily);

0 commit comments

Comments
 (0)