diff --git a/test/unit/legacy-noattributes.html b/test/unit/legacy-noattributes.html index 92ed94d828..20c7d65627 100644 --- a/test/unit/legacy-noattributes.html +++ b/test/unit/legacy-noattributes.html @@ -113,8 +113,8 @@ }); test('telemetry collected as expected', () => { - const def = registrations.find((def) => def.is === el.localName); - assert.ok(def); + const defs = registrations.filter((def) => def.is === el.localName); + assert.ok(defs[0]); }); test('native properties observeable when `_legacyForceObservedAttributes` set', function() {