Symptom
Click on a certification course (e.g., "AWS Solutions Architect Certification"). In the detail panel, the "Pass Rate" row shows "NaN%".
Expected: If the course metadata does not include a passRate field, the row should display "N/A" instead.
Context
CertificationCourseCard.detailsRows() builds an array of label/value pairs for display. It accesses this.course.metadata.passRate and multiplies by 100 to get a percentage. The seed data for this course does not include a passRate field in metadata.
Hints
TypeScript
TypeScript ready
Test Output
▶
Click "Run Tests" to execute your code