You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 456f7fd
Browse filesBrowse the repository at this point in the historyBrowse files
assert(button_contents.innerHTML==quiz_data.quiz_questions[0].answer_options[0],"You're not displaying the correct data from the `button_text` prop in the QuizQuestionButton component's JSX.")
assert(false,"We weren't able to mount the QuizQuestion component")
44
+
}
45
+
46
+
letexpectedProps={
47
+
button_text: '5'
48
+
}
49
+
assert(JSON.stringify(quizQuestion.find('QuizQuestionButton').props())==JSON.stringify(expectedProps),"You're not passing the correct prop values to QuizQuestionButton")
assert(ul_contents.querySelector('li button')!=null,"You're not rendering the correct HTML tags from the QuizQuestionButton component in the QuizQuestion's render method")
assert(element.specifiers[0].local.name=='QuizQuestionButton',"You're not importing the QuizQuestionButton class from the QuizQuestionButton.js file.")
35
+
quiz_question_button_import_found=true
36
+
}
37
+
}
38
+
})
39
+
assert(quiz_question_button_import_found,"You're not importing the QuizQuestionButton.js file.")
0 commit comments