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'
|
||||
];
|
||||
|
||||
tagNames.forEach(tagName => {
|
||||
for (const tagName of tagNames) {
|
||||
const domElement = createDomElement(tagName);
|
||||
t.is(is(domElement), 'HTMLElement');
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
test('is.observable', t => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue