Skip to content

Commit 4eec53e

Browse files
fix(dom-to-react): fix typos in the test
1 parent abf20a2 commit 4eec53e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/dom-to-react.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ describe('dom-to-react parser', () => {
159159
);
160160
});
161161

162-
it('does not modify keys for replacement if it have one', () => {
162+
it('does not modify keys for replacement if it has one', () => {
163163
const html = [data.html.single, data.html.customElement].join('');
164164

165165
const reactElements = domToReact(htmlToDOM(html), {
@@ -171,7 +171,7 @@ describe('dom-to-react parser', () => {
171171
return React.createElement(
172172
'custom-button',
173173
{
174-
key: 'meyKey',
174+
key: 'myKey',
175175
class: 'myClass',
176176
'custom-attribute': 'replaced value'
177177
},
@@ -186,7 +186,7 @@ describe('dom-to-react parser', () => {
186186
React.createElement(
187187
'custom-button',
188188
{
189-
key: 'meyKey',
189+
key: 'myKey',
190190
class: 'myClass',
191191
'custom-attribute': 'replaced value'
192192
},

0 commit comments

Comments
 (0)