getAllByRole ("listitem"); expect(items.length).toBe(2); expect(items[0]).toHaveTextContent("The Godfather"); expect(items[1]).
確定! 回上一頁