Caleb Porzio %!s(int64=5) %!d(string=hai) anos
pai
achega
a5c1745680
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      test/constructor.spec.js

+ 1 - 1
test/constructor.spec.js

@@ -69,7 +69,7 @@ test('auto-initialize new elements added to a component', async () => {
     `
     `
 
 
     runObservers[0]([
     runObservers[0]([
-        { addedNodes: [
+        { target: document.querySelector('#target'), addedNodes: [
             document.querySelector('#target span'),
             document.querySelector('#target span'),
             document.querySelector('#target button'),
             document.querySelector('#target button'),
         ] }
         ] }