Caleb Porzio преди 5 години
родител
ревизия
a5c1745680
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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'),
         ] }