test: sample fixture course
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
7e7ce30535
commit
7a68800f6f
13 files changed
+97
No files matched your search
@@ -0,0 +1,35 @@
|
||||
schema: 1
|
||||
id: sample
|
||||
title: Sample course
|
||||
pitch: A tiny self-contained course used by the test suite.
|
||||
visibility: public
|
||||
tracks:
|
||||
- { id: js, label: JavaScript }
|
||||
mentor: MENTOR.md
|
||||
source: { kind: authored }
|
||||
decks:
|
||||
- { id: d1, file: media/deck.pdf, attachTo: m1-video }
|
||||
modules:
|
||||
- id: m1
|
||||
title: First steps
|
||||
code: { dir: "code/S01 - First steps", command: "sh hello.sh" }
|
||||
lessons:
|
||||
- { id: m1-intro, title: Introduction, type: text, file: lessons/01-intro.md }
|
||||
- { id: m1-video, title: Watch the clip, type: video, file: media/clip.mp4, duration: 2, transcript: lessons/02-video.md }
|
||||
- { id: m1-code, title: Code along, type: text, file: lessons/03-code.md }
|
||||
- id: m2
|
||||
title: Exercises
|
||||
lessons:
|
||||
- { id: m2-text, title: Adding numbers, type: text, file: lessons/04-exercise.md }
|
||||
- id: m2-ex-add
|
||||
title: "Exercise 2.1: add"
|
||||
type: exercise
|
||||
file: lessons/04-exercise.md
|
||||
anchor: exercise-21--add
|
||||
hints: { file: lessons/04-exercise.md, match: "Exercise 2.1 (add)" }
|
||||
browser:
|
||||
language: js
|
||||
starter: exercises/add/starter.js
|
||||
tests: exercises/add/tests.js
|
||||
solution: exercises/add/solution.js
|
||||
localCommand: "node --test"
|
||||
Reference in new issue
Block a user