Jest Check Tombol jika dinonaktifkan

const buttonState = document.getElementById("btn").disabled

// true means it is disabled
John Appleseed