소스 검색

Fix tests

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'),
         ] }