Bagaimana Menegaskan Atribut Elemen di Perpustakaan Pengujian
expect(getByTestId('labelTestId').getAttribute('for')).toEqual('inputName');
Perfect Pigeon
expect(getByTestId('labelTestId').getAttribute('for')).toEqual('inputName');