ENGLISH·COURSE API
    Preparing search index...
    • Builds a course of lessonsPerModule.length modules, with the current lesson placed at currentLessonIndex inside the module at currentModuleIndex.

      Parameters

      • lessonsPerModule: {
            lessonsPerModule: number[];
            currentModuleIndex?: number;
            currentLessonIndex?: number;
        }

        How many lessons each module holds, in order

      Returns CourseFixture

      The drawer's props plus the entities the assertions need

      Deliberately hands over no position reading. The drawer derives Module · Lesson N of M itself from modules and lessonsByModuleId, so a fixture that supplied it would route the tests around the code path production takes.