Skip to content

Commit 0d5d5c8

Browse files
committed
test: Fix vue.input.vue location
1 parent 5f35705 commit 0d5d5c8

File tree

2 files changed

+276
-1
lines changed

2 files changed

+276
-1
lines changed

__tests__/__snapshots__/test.js.snap

+276-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,281 @@
11
// Jest Snapshot v1, https://goo.gl/fbAQLP
22

3-
exports[`Vue file 1`] = `Array []`;
3+
exports[`Vue file 1`] = `
4+
Array [
5+
Object {
6+
"augments": Array [],
7+
"context": Object {
8+
"loc": SourceLocation {
9+
"end": Position {
10+
"column": 1,
11+
"line": 19,
12+
},
13+
"start": Position {
14+
"column": 0,
15+
"line": 7,
16+
},
17+
},
18+
},
19+
"description": Object {
20+
"children": Array [
21+
Object {
22+
"children": Array [
23+
Object {
24+
"position": Position {
25+
"end": Object {
26+
"column": 29,
27+
"line": 1,
28+
"offset": 28,
29+
},
30+
"indent": Array [],
31+
"start": Object {
32+
"column": 1,
33+
"line": 1,
34+
"offset": 0,
35+
},
36+
},
37+
"type": "text",
38+
"value": "This Vue Component is a test",
39+
},
40+
],
41+
"position": Position {
42+
"end": Object {
43+
"column": 29,
44+
"line": 1,
45+
"offset": 28,
46+
},
47+
"indent": Array [],
48+
"start": Object {
49+
"column": 1,
50+
"line": 1,
51+
"offset": 0,
52+
},
53+
},
54+
"type": "paragraph",
55+
},
56+
],
57+
"position": Object {
58+
"end": Object {
59+
"column": 29,
60+
"line": 1,
61+
"offset": 28,
62+
},
63+
"start": Object {
64+
"column": 1,
65+
"line": 1,
66+
"offset": 0,
67+
},
68+
},
69+
"type": "root",
70+
},
71+
"errors": Array [],
72+
"examples": Array [],
73+
"loc": SourceLocation {
74+
"end": Position {
75+
"column": 3,
76+
"line": 6,
77+
},
78+
"start": Position {
79+
"column": 0,
80+
"line": 3,
81+
},
82+
},
83+
"members": Object {
84+
"events": Array [],
85+
"global": Array [],
86+
"inner": Array [],
87+
"instance": Array [],
88+
"static": Array [],
89+
},
90+
"name": "vue.input",
91+
"namespace": "vue.input",
92+
"params": Array [],
93+
"path": Array [
94+
Object {
95+
"kind": undefined,
96+
"name": "vue.input",
97+
},
98+
],
99+
"properties": Array [],
100+
"returns": Array [
101+
Object {
102+
"description": Object {
103+
"children": Array [
104+
Object {
105+
"children": Array [
106+
Object {
107+
"position": Position {
108+
"end": Object {
109+
"column": 21,
110+
"line": 1,
111+
"offset": 20,
112+
},
113+
"indent": Array [],
114+
"start": Object {
115+
"column": 1,
116+
"line": 1,
117+
"offset": 0,
118+
},
119+
},
120+
"type": "text",
121+
"value": "vue-tested component",
122+
},
123+
],
124+
"position": Position {
125+
"end": Object {
126+
"column": 21,
127+
"line": 1,
128+
"offset": 20,
129+
},
130+
"indent": Array [],
131+
"start": Object {
132+
"column": 1,
133+
"line": 1,
134+
"offset": 0,
135+
},
136+
},
137+
"type": "paragraph",
138+
},
139+
],
140+
"position": Object {
141+
"end": Object {
142+
"column": 21,
143+
"line": 1,
144+
"offset": 20,
145+
},
146+
"start": Object {
147+
"column": 1,
148+
"line": 1,
149+
"offset": 0,
150+
},
151+
},
152+
"type": "root",
153+
},
154+
"title": "returns",
155+
"type": Object {
156+
"name": "vue-tested",
157+
"type": "NameExpression",
158+
},
159+
},
160+
],
161+
"sees": Array [],
162+
"tags": Array [
163+
Object {
164+
"description": "vue-tested component",
165+
"lineNumber": 2,
166+
"title": "returns",
167+
"type": Object {
168+
"name": "vue-tested",
169+
"type": "NameExpression",
170+
},
171+
},
172+
],
173+
"throws": Array [],
174+
"todos": Array [],
175+
},
176+
Object {
177+
"augments": Array [],
178+
"context": Object {
179+
"loc": SourceLocation {
180+
"end": Position {
181+
"column": 3,
182+
"line": 17,
183+
},
184+
"start": Position {
185+
"column": 2,
186+
"line": 14,
187+
},
188+
},
189+
},
190+
"description": Object {
191+
"children": Array [
192+
Object {
193+
"children": Array [
194+
Object {
195+
"position": Position {
196+
"end": Object {
197+
"column": 17,
198+
"line": 1,
199+
"offset": 16,
200+
},
201+
"indent": Array [],
202+
"start": Object {
203+
"column": 1,
204+
"line": 1,
205+
"offset": 0,
206+
},
207+
},
208+
"type": "text",
209+
"value": "This is a number",
210+
},
211+
],
212+
"position": Position {
213+
"end": Object {
214+
"column": 17,
215+
"line": 1,
216+
"offset": 16,
217+
},
218+
"indent": Array [],
219+
"start": Object {
220+
"column": 1,
221+
"line": 1,
222+
"offset": 0,
223+
},
224+
},
225+
"type": "paragraph",
226+
},
227+
],
228+
"position": Object {
229+
"end": Object {
230+
"column": 17,
231+
"line": 1,
232+
"offset": 16,
233+
},
234+
"start": Object {
235+
"column": 1,
236+
"line": 1,
237+
"offset": 0,
238+
},
239+
},
240+
"type": "root",
241+
},
242+
"errors": Array [],
243+
"examples": Array [],
244+
"loc": SourceLocation {
245+
"end": Position {
246+
"column": 5,
247+
"line": 13,
248+
},
249+
"start": Position {
250+
"column": 2,
251+
"line": 11,
252+
},
253+
},
254+
"members": Object {
255+
"events": Array [],
256+
"global": Array [],
257+
"inner": Array [],
258+
"instance": Array [],
259+
"static": Array [],
260+
},
261+
"name": "myNumber",
262+
"namespace": "myNumber",
263+
"params": Array [],
264+
"path": Array [
265+
Object {
266+
"kind": undefined,
267+
"name": "myNumber",
268+
},
269+
],
270+
"properties": Array [],
271+
"returns": Array [],
272+
"sees": Array [],
273+
"tags": Array [],
274+
"throws": Array [],
275+
"todos": Array [],
276+
},
277+
]
278+
`;
4279

5280
exports[`config 1`] = `
6281
"<!-- Generated by documentation.js. Update this documentation by updating the source code. -->
File renamed without changes.

0 commit comments

Comments
 (0)