@@ -9,10 +9,10 @@ Short description to be shown as a tutorial's subtitle.
99
1010` ;
1111
12- const config = { version : "0.1.0" } ;
12+ const skeleton = { version : "0.1.0" } ;
1313 const result = parse ( {
1414 text : md ,
15- config ,
15+ skeleton ,
1616 commits : { } ,
1717 } ) ;
1818 const expected = {
@@ -37,13 +37,13 @@ Description.
3737Some text
3838` ;
3939
40- const config = {
40+ const skeleton = {
4141 levels : [ { id : "L1" } ] ,
4242 } ;
4343
4444 const result = parse ( {
4545 text : md ,
46- config ,
46+ skeleton ,
4747 commits : { } ,
4848 } ) ;
4949 const expected = {
@@ -73,7 +73,7 @@ Description.
7373Some text
7474` ;
7575
76- const config = {
76+ const skeleton = {
7777 levels : [
7878 {
7979 id : "L1" ,
@@ -85,7 +85,7 @@ Some text
8585 } ;
8686 const result = parse ( {
8787 text : md ,
88- config ,
88+ skeleton ,
8989 commits : { } ,
9090 } ) ;
9191 const expected = {
@@ -115,10 +115,10 @@ Description.
115115Some text that becomes the summary
116116` ;
117117
118- const config = { levels : [ { id : "L1" } ] } ;
118+ const skeleton = { levels : [ { id : "L1" } ] } ;
119119 const result = parse ( {
120120 text : md ,
121- config ,
121+ skeleton ,
122122 commits : { } ,
123123 } ) ;
124124 const expected = {
@@ -145,10 +145,10 @@ Description.
145145Some text that becomes the summary and goes beyond the maximum length of 80 so that it gets truncated at the end
146146` ;
147147
148- const config = { levels : [ { id : "L1" } ] } ;
148+ const skeleton = { levels : [ { id : "L1" } ] } ;
149149 const result = parse ( {
150150 text : md ,
151- config ,
151+ skeleton ,
152152 commits : { } ,
153153 } ) ;
154154 const expected = {
@@ -180,10 +180,10 @@ Second line
180180Third line
181181` ;
182182
183- const config = { levels : [ { id : "L1" } ] } ;
183+ const skeleton = { levels : [ { id : "L1" } ] } ;
184184 const result = parse ( {
185185 text : md ,
186- config ,
186+ skeleton ,
187187 commits : { } ,
188188 } ) ;
189189 const expected = {
@@ -215,7 +215,7 @@ First line
215215
216216The first step
217217` ;
218- const config = {
218+ const skeleton = {
219219 levels : [
220220 {
221221 id : "L1" ,
@@ -229,7 +229,7 @@ The first step
229229 } ;
230230 const result = parse ( {
231231 text : md ,
232- config ,
232+ skeleton ,
233233 commits : {
234234 L1S1Q : [ "abcdefg1" ] ,
235235 } ,
@@ -271,7 +271,7 @@ First line
271271
272272The first step
273273` ;
274- const config = {
274+ const skeleton = {
275275 levels : [
276276 {
277277 id : "L1" ,
@@ -285,7 +285,7 @@ The first step
285285 } ;
286286 const result = parse ( {
287287 text : md ,
288- config ,
288+ skeleton ,
289289 commits : {
290290 L1S1Q : [ "abcdefg1" , "123456789" ] ,
291291 } ,
@@ -327,7 +327,7 @@ First line
327327
328328The first step
329329` ;
330- const config = {
330+ const skeleton = {
331331 levels : [
332332 {
333333 id : "L1" ,
@@ -336,7 +336,7 @@ The first step
336336 } ;
337337 const result = parse ( {
338338 text : md ,
339- config ,
339+ skeleton ,
340340 commits : {
341341 L1 : [ "abcdefg1" ] ,
342342 } ,
@@ -372,7 +372,7 @@ First line
372372
373373The first step
374374` ;
375- const config = {
375+ const skeleton = {
376376 levels : [
377377 {
378378 id : "L1" ,
@@ -397,7 +397,7 @@ The first step
397397 } ;
398398 const result = parse ( {
399399 text : md ,
400- config ,
400+ skeleton ,
401401 commits : {
402402 L1S1Q : [ "abcdefg1" , "123456789" ] ,
403403 L1S1A : [ "1gfedcba" , "987654321" ] ,
@@ -462,7 +462,7 @@ Second level content.
462462
463463The third step
464464` ;
465- const config = {
465+ const skeleton = {
466466 levels : [
467467 {
468468 id : "L1" ,
@@ -522,7 +522,7 @@ The third step
522522 } ;
523523 const result = parse ( {
524524 text : md ,
525- config ,
525+ skeleton ,
526526 commits : {
527527 L1S1Q : [ "abcdef1" , "123456789" ] ,
528528 L1S1A : [ "1fedcba" , "987654321" ] ,
@@ -623,7 +623,7 @@ First level content.
623623The first step
624624
625625` ;
626- const config = {
626+ const skeleton = {
627627 levels : [
628628 {
629629 id : "L1" ,
@@ -637,7 +637,7 @@ The first step
637637 } ;
638638 const result = parse ( {
639639 text : md ,
640- config ,
640+ skeleton ,
641641 commits : {
642642 L1S1Q : [ "abcdef1" , "123456789" ] ,
643643 } ,
@@ -674,7 +674,7 @@ The first step
674674Description.
675675` ;
676676
677- const config = {
677+ const skeleton = {
678678 config : {
679679 testRunner : {
680680 command : "./node_modules/.bin/mocha" ,
@@ -704,7 +704,7 @@ Description.
704704 } ;
705705 const result = parse ( {
706706 text : md ,
707- config ,
707+ skeleton ,
708708 commits : { } ,
709709 } ) ;
710710 const expected = {
@@ -747,7 +747,7 @@ Description.
747747Description.
748748` ;
749749
750- const config = {
750+ const skeleton = {
751751 config : {
752752 testRunner : {
753753 command : "./node_modules/.bin/mocha" ,
@@ -774,7 +774,7 @@ Description.
774774 } ;
775775 const result = parse ( {
776776 text : md ,
777- config ,
777+ skeleton ,
778778 commits : {
779779 INIT : [ "abcdef1" , "123456789" ] ,
780780 } ,
0 commit comments