Laboratoria / curriculum-parser

Command line tool we use to parse content written in markdown for our LMS @Laboratoria
5 stars 15 forks source link

Pruebas curriculumParser 5.x topic.js #63

Closed unjust closed 1 year ago

unjust commented 1 year ago

Una lista de pruebas para realizar de topic.js

  1. getSummary
  2. getLinkedUnits
    • [x] throws error when no syllabus
    • [ ] returns expected object of section nodes
  3. parseUnit
    • [ ] returns expected unit object
    • [x] returns intl with es/pt (?)
  4. parseTopic
    • [x] returns intl with es/pt (ux, web-dev)
    • [x] throws error when no valid track
    • [x] errors with duplicate slugs
    • [ ] compare with a snapshot object (?)