Use for of instead of forEach
This commit is contained in:
parent
b0b33a07d6
commit
9c19b4e41d
1 changed files with 2 additions and 2 deletions
|
|
@ -1284,10 +1284,10 @@ test('is.domElement', t => {
|
||||||
'script'
|
'script'
|
||||||
];
|
];
|
||||||
|
|
||||||
tagNames.forEach(tagName => {
|
for (const tagName of tagNames) {
|
||||||
const domElement = createDomElement(tagName);
|
const domElement = createDomElement(tagName);
|
||||||
t.is(is(domElement), 'HTMLElement');
|
t.is(is(domElement), 'HTMLElement');
|
||||||
});
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
test('is.observable', t => {
|
test('is.observable', t => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue