Skip to content

Commit c46b132

Browse files
committed
Fix test
1 parent 0a77089 commit c46b132

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

__tests__/html2/adaptiveCard/rerender.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,9 +111,9 @@
111111

112112
// THEN: the Adaptive Card is re-rendered resulting in a single DOM mutation
113113
expect(observedMutations.length).toBe(1);
114-
expect(observedMutations.[0].type).toBe('childList');
115-
expect(observedMutations.[0].addedNodes[0]).toBe(adaptiveCardEl.children[0]);
116-
expect(observedMutations.[0].removedNodes[0]).toBe(currentRenderedChild);
114+
expect(observedMutations[0].type).toBe('childList');
115+
expect(observedMutations[0].addedNodes[0]).toBe(adaptiveCardEl.children[0]);
116+
expect(observedMutations[0].removedNodes[0]).toBe(currentRenderedChild);
117117

118118
await host.snapshot('local');
119119
});

0 commit comments

Comments
 (0)