File tree Expand file tree Collapse file tree 1 file changed +50
-51
lines changed Expand file tree Collapse file tree 1 file changed +50
-51
lines changed Original file line number Diff line number Diff line change @@ -2700,64 +2700,63 @@ test('escape', (t) => {
2700
2700
'should support empty `join`, `handlers`, `extensions` in an extension (coverage)'
2701
2701
)
2702
2702
2703
-
2704
2703
t . equal (
2705
2704
to (
2706
2705
{
2707
- "type" : "root" ,
2708
- "children" : [
2709
- {
2710
- "type" : "list" ,
2711
- "ordered" : true ,
2712
- "start" : 1 ,
2713
- "spread" : false ,
2714
- "children" : [
2715
- {
2716
- "type" : "listItem" ,
2717
- "spread" : true ,
2718
- "checked" : null ,
2719
- "children" : [
2720
- {
2721
- "type" : "paragraph" ,
2722
- "children" : [
2723
- {
2724
- "type" : "text" ,
2725
- "value" : "foo"
2726
- }
2727
- ]
2728
- } ,
2729
- {
2730
- "type" : "list" ,
2731
- "ordered" : false ,
2732
- "start" : null ,
2733
- "spread" : false ,
2734
- "children" : [
2735
- {
2736
- "type" : "listItem" ,
2737
- "spread" : false ,
2738
- "checked" : null ,
2739
- "children" : [
2740
- {
2741
- "type" : "paragraph" ,
2742
- "children" : [
2743
- {
2744
- "type" : "text" ,
2745
- "value" : "bar"
2746
- }
2747
- ]
2748
- }
2749
- ]
2750
- }
2751
- ]
2752
- }
2706
+ type : 'root' ,
2707
+ children : [
2708
+ {
2709
+ type : 'list' ,
2710
+ ordered : true ,
2711
+ start : 1 ,
2712
+ spread : false ,
2713
+ children : [
2714
+ {
2715
+ type : 'listItem' ,
2716
+ spread : true ,
2717
+ checked : null ,
2718
+ children : [
2719
+ {
2720
+ type : 'paragraph' ,
2721
+ children : [
2722
+ {
2723
+ type : 'text' ,
2724
+ value : 'foo'
2725
+ }
2726
+ ]
2727
+ } ,
2728
+ {
2729
+ type : 'list' ,
2730
+ ordered : false ,
2731
+ start : null ,
2732
+ spread : false ,
2733
+ children : [
2734
+ {
2735
+ type : 'listItem' ,
2736
+ spread : false ,
2737
+ checked : null ,
2738
+ children : [
2739
+ {
2740
+ type : 'paragraph' ,
2741
+ children : [
2742
+ {
2743
+ type : 'text' ,
2744
+ value : 'bar'
2745
+ }
2746
+ ]
2747
+ }
2753
2748
]
2754
- }
2749
+ }
2750
+ ]
2751
+ }
2755
2752
]
2756
- }
2753
+ }
2754
+ ]
2755
+ }
2757
2756
]
2758
- } ,
2757
+ } ,
2759
2758
{
2760
- join : [ ( ) => 0 ] ,
2759
+ join : [ ( ) => 0 ]
2761
2760
}
2762
2761
) ,
2763
2762
'1. foo\n * bar\n' ,
You can’t perform that action at this time.
0 commit comments