Update tap and deprecated test methods

This commit is contained in:
Colby Gutierrez-Kraybill 2022-05-27 11:09:16 -04:00
parent e2392932e6
commit 2330e8589a
8 changed files with 105 additions and 101 deletions

View file

@ -77,7 +77,7 @@ const sprites = function (input) {
let result = 0;
for (let i in input.children) {
if (input.children[i].hasOwnProperty('spriteInfo')) result++;
if (Object.prototype.hasOwnProperty.call(input.children[i], 'spriteInfo')) result++;
}
return {count: result};