1
1
// Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
3
- exports [` snippet import snippets when the file has a space in the file path 1` ] = `
3
+ exports [` snippet import snippet 1` ] = `
4
+ <pre ><code class = " language-js" >export default function () {
5
+ // ..
6
+ }
7
+ </code ></pre >
8
+ ` ;
9
+
10
+ exports [` snippet import snippet with highlight multiple lines 1` ] = `
4
11
<div class = " highlight-lines" >
5
12
<div class = " highlighted" > </div >
6
13
<div class = " highlighted" > </div >
@@ -10,15 +17,34 @@ exports[`snippet import snippets when the file has a space in the file path 1`]
10
17
}
11
18
`;
12
19
13
- exports[`snippet import snippet 1`] = `
14
- <pre ><code class = " language-js" >export default function () {
15
- // ..
20
+ exports[`snippet import snippet with highlight single and multiple lines 1`] = `
21
+ <div class = " highlight-lines" >
22
+ <div class = " highlighted" > </div >
23
+ <div class = " highlighted" > </div >
24
+ <div class = " highlighted" > </div ><br >
25
+ </div >export default function () {
26
+ // ..
16
27
}
17
- </code ></pre >
18
28
`;
19
29
20
- exports[`snippet import snippet with region and highlight 1`] = `
21
- <pre ><code class = " language-js{1,3}" >function foo () {
30
+ exports[`snippet import snippet with highlight single line 1`] = `
31
+ <div class = " highlight-lines" >
32
+ <div class = " highlighted" > </div ><br >
33
+ <div class = " highlighted" > </div ><br >
34
+ </div >export default function () {
35
+ // ..
36
+ }
37
+ `;
38
+
39
+ exports[`snippet import snippet with indented region 1`] = `
40
+ <pre ><code class = " language-html" >< section>
41
+ < h1> Hello World< /h1>
42
+ < /section>
43
+ < div> Lorem Ipsum< /div> </code ></pre >
44
+ `;
45
+
46
+ exports[`snippet import snippet with region 1`] = `
47
+ <pre ><code class = " language-js" >function foo () {
22
48
return ({
23
49
dest: ' ../../vuepress' ,
24
50
locales: {
@@ -48,34 +74,8 @@ exports[`snippet import snippet with region and highlight 1`] = `
48
74
}</code></pre>
49
75
` ;
50
76
51
- exports [` snippet import snippet with highlight multiple lines 1` ] = `
52
- <div class = " highlight-lines" >
53
- <div class = " highlighted" > </div >
54
- <div class = " highlighted" > </div >
55
- <div class = " highlighted" > </div ><br >
56
- </div >export default function () {
57
- // ..
58
- }
59
- `;
60
-
61
- exports[`snippet import snippet with highlight single line 1`] = `
62
- <div class = " highlight-lines" >
63
- <div class = " highlighted" > </div ><br >
64
- <div class = " highlighted" > </div ><br >
65
- </div >export default function () {
66
- // ..
67
- }
68
- `;
69
-
70
- exports[`snippet import snippet with indented region 1`] = `
71
- <pre ><code class = " language-html" >< section>
72
- < h1> Hello World< /h1>
73
- < /section>
74
- < div> Lorem Ipsum< /div> </code ></pre >
75
- `;
76
-
77
- exports[`snippet import snippet with region 1`] = `
78
- <pre ><code class = " language-js" >function foo () {
77
+ exports [` snippet import snippet with region and highlight 1` ] = `
78
+ <pre ><code class = " language-js{1,3}" >function foo () {
79
79
return ({
80
80
dest: ' ../../vuepress' ,
81
81
locales: {
@@ -105,7 +105,7 @@ exports[`snippet import snippet with region 1`] = `
105
105
}</code></pre>
106
106
` ;
107
107
108
- exports [` snippet import snippet with region and single line highlight > 10 1` ] = `
108
+ exports [` snippet import snippet with region and single line highlight > 10 1` ] = `
109
109
<pre ><code class = " language-js{11}" >function foo () {
110
110
return ({
111
111
dest: ' ../../vuepress' ,
@@ -135,3 +135,13 @@ exports[`snippet import snippet with region and single line highlight > 10 1`]
135
135
})
136
136
}</code></pre>
137
137
` ;
138
+
139
+ exports [` snippet import snippets when the file has a space in the file path 1` ] = `
140
+ <div class = " highlight-lines" >
141
+ <div class = " highlighted" > </div >
142
+ <div class = " highlighted" > </div >
143
+ <div class = " highlighted" > </div ><br >
144
+ </div >export default function () {
145
+ // ..
146
+ }
147
+ `;
0 commit comments