File tree 2 files changed +29
-1
lines changed
2 files changed +29
-1
lines changed Original file line number Diff line number Diff line change 1
1
// Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
3
+ exports [` line Decoration line includes external link 1` ] = `
4
+ [
5
+ {
6
+ " indent" : 0 ,
7
+ " nodes" : [
8
+ {
9
+ " decos" : [
10
+ " *-1" ,
11
+ ],
12
+ " nodes" : [
13
+ {
14
+ " content" : " example" ,
15
+ " href" : " https://example.com" ,
16
+ " pathType" : " absolute" ,
17
+ " raw" : " [https://example.com example]" ,
18
+ " type" : " link" ,
19
+ },
20
+ ],
21
+ " raw" : " [* [https://example.com example]]" ,
22
+ " rawDecos" : " *" ,
23
+ " type" : " decoration" ,
24
+ },
25
+ ],
26
+ " type" : " line" ,
27
+ } ,
28
+ ]
29
+ ` ;
30
+
3
31
exports [` line Decoration line includes internal link 1` ] = `
4
32
[
5
33
{
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ describe("line", () => {
7
7
expect ( "[* [Link]]" ) . toMatchSnapshotWhenParsing ( { hasTitle : false } ) ;
8
8
} ) ;
9
9
10
- it ( "Decoration line includes internal link" , ( ) => {
10
+ it ( "Decoration line includes external link" , ( ) => {
11
11
expect ( "[* [https://example.com example]]" ) . toMatchSnapshotWhenParsing ( {
12
12
hasTitle : false ,
13
13
} ) ;
You can’t perform that action at this time.
0 commit comments