@@ -41,7 +41,9 @@ describe('render', function () {
41
41
- [ ] Task 3
42
42
` ) ;
43
43
44
- expect ( output ) . toMatchInlineSnapshot ( `"<ul class="task-list"><li class="task-list-item"><label><input checked="" disabled="" type="checkbox">Task 1</label></li><li class="task-list-item"><label><input disabled="" type="checkbox">Task 2</label></li><li class="task-list-item"><label><input disabled="" type="checkbox">Task 3</label></li></ul>"` ) ;
44
+ expect ( output ) . toMatchInlineSnapshot (
45
+ `"<ul class="task-list"><li class="task-list-item"><label><input checked="" disabled="" type="checkbox">Task 1</label></li><li class="task-list-item"><label><input disabled="" type="checkbox">Task 2</label></li><li class="task-list-item"><label><input disabled="" type="checkbox">Task 3</label></li></ul>"` ,
46
+ ) ;
45
47
} ) ;
46
48
47
49
test ( 'as ordered task list' , async function ( ) {
@@ -50,7 +52,9 @@ describe('render', function () {
50
52
2. [x] Task 2
51
53
` ) ;
52
54
53
- expect ( output ) . toMatchInlineSnapshot ( `"<ol class="task-list"><li class="task-list-item"><label><input disabled="" type="checkbox">Task 1</label></li><li class="task-list-item"><label><input checked="" disabled="" type="checkbox">Task 2</label></li></ol>"` ) ;
55
+ expect ( output ) . toMatchInlineSnapshot (
56
+ `"<ol class="task-list"><li class="task-list-item"><label><input disabled="" type="checkbox">Task 1</label></li><li class="task-list-item"><label><input checked="" disabled="" type="checkbox">Task 2</label></li></ol>"` ,
57
+ ) ;
54
58
} ) ;
55
59
56
60
test ( 'normal unordered' , async function ( ) {
@@ -59,7 +63,9 @@ describe('render', function () {
59
63
- just text
60
64
` ) ;
61
65
62
- expect ( output ) . toMatchInlineSnapshot ( `"<ul ><li><a href="#/link" >linktext</a></li><li>just text</li></ul>"` ) ;
66
+ expect ( output ) . toMatchInlineSnapshot (
67
+ `"<ul ><li><a href="#/link" >linktext</a></li><li>just text</li></ul>"` ,
68
+ ) ;
63
69
} ) ;
64
70
65
71
test ( 'unordered with custom start' , async function ( ) {
@@ -72,7 +78,9 @@ describe('render', function () {
72
78
3. third
73
79
` ) ;
74
80
75
- expect ( output ) . toMatchInlineSnapshot ( `"<ol ><li>first</li><li>second</li></ol><p>text</p><ol start="3"><li>third</li></ol>"` ) ;
81
+ expect ( output ) . toMatchInlineSnapshot (
82
+ `"<ol ><li>first</li><li>second</li></ol><p>text</p><ol start="3"><li>third</li></ol>"` ,
83
+ ) ;
76
84
} ) ;
77
85
78
86
test ( 'nested' , async function ( ) {
@@ -84,7 +92,9 @@ describe('render', function () {
84
92
- 3
85
93
` ) ;
86
94
87
- expect ( output ) . toMatchInlineSnapshot ( `"<ul ><li>1</li><li>2</p><ul ><li>2 a</li><li>2 b</li></ul></li><li>3</li></ul>"` ) ;
95
+ expect ( output ) . toMatchInlineSnapshot (
96
+ `"<ul ><li>1</li><li>2</p><ul ><li>2 a</li><li>2 b</li></ul></li><li>3</li></ul>"` ,
97
+ ) ;
88
98
} ) ;
89
99
} ) ;
90
100
0 commit comments