Use for of instead of forEach

This commit is contained in:
Bjorn Stromberg 2020-06-21 10:45:59 +09:00
parent b0b33a07d6
commit 9c19b4e41d

View file

@ -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 => {