@@ -4,13 +4,13 @@ import { link, paragraph, plain } from '../src/utils';
4
4
test . each ( [
5
5
[
6
6
7
- [ paragraph ( [ link ( 'mailto:[email protected] ' , plain ( '[email protected] ' ) ) ] ) ] ,
7
+ [ paragraph ( [ link ( 'mailto:[email protected] ' , [ plain ( '[email protected] ' ) ] ) ] ) ] ,
8
8
] ,
9
9
[
10
10
"[email protected] is Joe's email" ,
11
11
[
12
12
paragraph ( [
13
-
13
+
14
14
plain ( " is Joe's email" ) ,
15
15
] ) ,
16
16
] ,
@@ -19,7 +19,7 @@ test.each([
19
19
"[email protected] is Joe's email" ,
20
20
[
21
21
paragraph ( [
22
-
22
+
23
23
plain ( " is Joe's email" ) ,
24
24
] ) ,
25
25
] ,
@@ -29,7 +29,7 @@ test.each([
29
29
[
30
30
paragraph ( [
31
31
plain ( "Joe's email is " ) ,
32
-
32
+
33
33
plain ( ' because it is' ) ,
34
34
] ) ,
35
35
] ,
@@ -39,7 +39,7 @@ test.each([
39
39
[
40
40
paragraph ( [
41
41
plain ( "Joe's email is " ) ,
42
-
42
+
43
43
] ) ,
44
44
] ,
45
45
] ,
@@ -48,7 +48,7 @@ test.each([
48
48
[
49
49
paragraph ( [
50
50
plain ( "Joe's email is " ) ,
51
-
51
+
52
52
plain ( '. Try emailing him' ) ,
53
53
] ) ,
54
54
] ,
@@ -58,7 +58,7 @@ test.each([
58
58
[
59
59
paragraph ( [
60
60
plain ( "Joe's email is " ) ,
61
-
61
+
62
62
] ) ,
63
63
] ,
64
64
] ,
@@ -67,7 +67,7 @@ test.each([
67
67
[
68
68
paragraph ( [
69
69
plain ( "Joe's email is " ) ,
70
-
70
+
71
71
] ) ,
72
72
] ,
73
73
] ,
@@ -76,7 +76,7 @@ test.each([
76
76
[
77
77
paragraph ( [
78
78
plain ( "Joe's email is (" ) ,
79
-
79
+
80
80
plain ( ')' ) ,
81
81
] ) ,
82
82
] ,
@@ -86,7 +86,7 @@ test.each([
86
86
[
87
87
paragraph ( [
88
88
plain ( "Joe's email is (" ) ,
89
-
89
+
90
90
plain ( ')' ) ,
91
91
] ) ,
92
92
] ,
@@ -96,7 +96,7 @@ test.each([
96
96
[
97
97
paragraph ( [
98
98
plain ( "Joe's email is (" ) ,
99
- link ( "mailto:joe'[email protected] " , plain ( "joe'[email protected] " ) ) ,
99
+ link ( "mailto:joe'[email protected] " , [ plain ( "joe'[email protected] " ) ] ) ,
100
100
plain ( ')' ) ,
101
101
] ) ,
102
102
] ,
@@ -106,7 +106,7 @@ test.each([
106
106
[
107
107
paragraph ( [
108
108
plain ( "Joe's email is " ) ,
109
- link ( 'mailto:mañana@mañana.com' , plain ( 'mañana@mañana.com' ) ) ,
109
+ link ( 'mailto:mañana@mañana.com' , [ plain ( 'mañana@mañana.com' ) ] ) ,
110
110
] ) ,
111
111
] ,
112
112
] ,
@@ -115,10 +115,9 @@ test.each([
115
115
[
116
116
paragraph ( [
117
117
plain ( "Joe's email is " ) ,
118
- link (
119
- 'mailto:Кириллица@Кириллица.com' ,
120
- plain ( 'Кириллица@Кириллица.com' )
121
- ) ,
118
+ link ( 'mailto:Кириллица@Кириллица.com' , [
119
+ plain ( 'Кириллица@Кириллица.com' ) ,
120
+ ] ) ,
122
121
] ) ,
123
122
] ,
124
123
] ,
@@ -128,7 +127,7 @@ test.each([
128
127
[
129
128
paragraph ( [
130
129
plain ( 'My email is ' ) ,
131
-
130
+
132
131
] ) ,
133
132
] ,
134
133
] ,
@@ -137,7 +136,7 @@ test.each([
137
136
[
138
137
paragraph ( [
139
138
plain ( 'My email is ' ) ,
140
-
139
+
141
140
] ) ,
142
141
] ,
143
142
] ,
0 commit comments