+
+ {labels.map(label => (
+
+ ))}
+
+
Below the list
+
+ A footer layout does not move
+
+
+ );
+}
+
+const rowOf = (label: string) =>
+ Array.from(document.querySelectorAll('li')).find(
+ li => li.textContent === label,
+ ) as HTMLElement;
+
+describe('List update motion', () => {
+ it('under a finger, rows that change place move and new rows fade in', async () => {
+ stubPointer('touch');
+ const {rerender} = render(