Caleb Porzio 5 vuotta sitten
vanhempi
commit
a5c1745680
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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]([
-        { addedNodes: [
+        { target: document.querySelector('#target'), addedNodes: [
             document.querySelector('#target span'),
             document.querySelector('#target button'),
         ] }