Skip to content

Commit b86253e

Browse files
committed
chore: fix some lint errors
1 parent 509486e commit b86253e

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

test/index.test.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,6 @@ describe('corrupted styles', () => {
159159
const html = '<p style="font - size: 1em">X</p>';
160160
const options = {};
161161
const reactElement = parse(html, options);
162-
expect(render(reactElement)).toBe(
163-
'<p>X</p>'
164-
);
162+
expect(render(reactElement)).toBe('<p>X</p>');
165163
});
166-
})
164+
});

test/utilities.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,6 @@ describe('setStyleProp', () => {
122122
const style = `font - size: 1em`;
123123
const props = {};
124124
expect(setStyleProp(style, props)).toBe(undefined);
125-
expect(props).toEqual({style: {}});
125+
expect(props).toEqual({ style: {} });
126126
});
127127
});

0 commit comments

Comments
 (0)