File tree Expand file tree Collapse file tree 1 file changed +47
-3
lines changed Expand file tree Collapse file tree 1 file changed +47
-3
lines changed Original file line number Diff line number Diff line change @@ -17,16 +17,23 @@ const basic: CR.Tutorial = {
1717 summary : {
1818 title : 'Basic Test' ,
1919 description : 'A basic coding skills example' ,
20- levelList : [ 'level1Id' ] ,
20+ levelList : [ 'level1Id' , 'level2Id' ] ,
2121 } ,
2222 levels : {
2323 level1Id : {
2424 stageList : [ 'stage1Id' , 'stage2Id' ] ,
2525 content : {
26- title : 'Sum Level ' ,
26+ title : 'Operators ' ,
2727 text : 'A description of this stage' ,
2828 } ,
2929 } ,
30+ level2Id : {
31+ stageList : [ 'a' ] ,
32+ content : {
33+ title : 'Logic' ,
34+ text : 'Some basic logic in level 2'
35+ }
36+ }
3037 } ,
3138 stages : {
3239 stage1Id : {
@@ -42,7 +49,14 @@ const basic: CR.Tutorial = {
4249 title : 'Second Stage' ,
4350 text : 'Going into round 2'
4451 }
45- }
52+ } ,
53+ a : {
54+ stepList : [ 'a1' , 'a2' ] ,
55+ content : {
56+ title : 'Part 1' ,
57+ text : 'Going into round 1'
58+ }
59+ } ,
4660 } ,
4761 steps : {
4862 step1Id : {
@@ -124,6 +138,36 @@ const basic: CR.Tutorial = {
124138 }
125139 }
126140 } ,
141+ a1 : {
142+ content : {
143+ title : 'Hello' ,
144+ text : 'Return the word "hello"'
145+ } ,
146+ actions : {
147+ setup : {
148+ commits : [ 'c539057' ] ,
149+ files : [ 'src/hello.js' ] ,
150+ } ,
151+ solution : {
152+ commits : [ 'ab7d57b' ]
153+ }
154+ }
155+ } ,
156+ a2 : {
157+ content : {
158+ title : 'Bye' ,
159+ text : 'Return the word "bye"'
160+ } ,
161+ actions : {
162+ setup : {
163+ commits : [ 'abe8404' ] ,
164+ files : [ 'src/hello.js' ] ,
165+ } ,
166+ solution : {
167+ commits : [ '6f40d18' ]
168+ }
169+ }
170+ } ,
127171 } ,
128172 } ,
129173}
You can’t perform that action at this time.
0 commit comments