Skip to content

Commit 70fd2de

Browse files
committed
Add integration test for instrumentation file extension fix
Signed-off-by: Anders Kaseorg <[email protected]>
1 parent 39bfc89 commit 70fd2de

File tree

7 files changed

+522
-0
lines changed

7 files changed

+522
-0
lines changed
Lines changed: 371 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,371 @@
1+
// Jest Snapshot v1, https://goo.gl/fbAQLP
2+
3+
exports[`code coverage for Handlebars 1`] = `
4+
Object {
5+
"greet.hbs": Object {
6+
"b": Object {
7+
"0": Array [
8+
2,
9+
0,
10+
],
11+
"1": Array [
12+
1,
13+
0,
14+
],
15+
"2": Array [
16+
1,
17+
0,
18+
],
19+
"3": Array [
20+
1,
21+
1,
22+
],
23+
"4": Array [
24+
1,
25+
1,
26+
],
27+
"5": Array [
28+
1,
29+
0,
30+
],
31+
},
32+
"branchMap": Object {
33+
"0": Object {
34+
"loc": Object {
35+
"end": Object {
36+
"column": null,
37+
"line": 6,
38+
},
39+
"start": Object {
40+
"column": 2,
41+
"line": 6,
42+
},
43+
},
44+
"locations": Array [
45+
Object {
46+
"end": Object {
47+
"column": null,
48+
"line": 6,
49+
},
50+
"start": Object {
51+
"column": 2,
52+
"line": 6,
53+
},
54+
},
55+
Object {
56+
"end": Object {
57+
"column": null,
58+
"line": 6,
59+
},
60+
"start": Object {
61+
"column": 2,
62+
"line": 6,
63+
},
64+
},
65+
],
66+
"type": "cond-expr",
67+
},
68+
"1": Object {
69+
"loc": Object {
70+
"end": Object {
71+
"column": 6,
72+
"line": 8,
73+
},
74+
"start": Object {
75+
"column": 0,
76+
"line": 8,
77+
},
78+
},
79+
"locations": Array [
80+
Object {
81+
"end": Object {
82+
"column": 6,
83+
"line": 8,
84+
},
85+
"start": Object {
86+
"column": 0,
87+
"line": 8,
88+
},
89+
},
90+
Object {
91+
"end": Object {
92+
"column": 6,
93+
"line": 8,
94+
},
95+
"start": Object {
96+
"column": 0,
97+
"line": 8,
98+
},
99+
},
100+
],
101+
"type": "cond-expr",
102+
},
103+
"2": Object {
104+
"loc": Object {
105+
"end": Object {
106+
"column": 10,
107+
"line": 8,
108+
},
109+
"start": Object {
110+
"column": 6,
111+
"line": 8,
112+
},
113+
},
114+
"locations": Array [
115+
Object {
116+
"end": Object {
117+
"column": 10,
118+
"line": 8,
119+
},
120+
"start": Object {
121+
"column": 6,
122+
"line": 8,
123+
},
124+
},
125+
Object {
126+
"end": Object {
127+
"column": 10,
128+
"line": 8,
129+
},
130+
"start": Object {
131+
"column": 6,
132+
"line": 8,
133+
},
134+
},
135+
],
136+
"type": "cond-expr",
137+
},
138+
"3": Object {
139+
"loc": Object {
140+
"end": Object {
141+
"column": 2,
142+
"line": 13,
143+
},
144+
"start": Object {
145+
"column": 0,
146+
"line": 13,
147+
},
148+
},
149+
"locations": Array [
150+
Object {
151+
"end": Object {
152+
"column": 2,
153+
"line": 13,
154+
},
155+
"start": Object {
156+
"column": 0,
157+
"line": 13,
158+
},
159+
},
160+
Object {
161+
"end": Object {
162+
"column": 2,
163+
"line": 13,
164+
},
165+
"start": Object {
166+
"column": 0,
167+
"line": 13,
168+
},
169+
},
170+
],
171+
"type": "cond-expr",
172+
},
173+
"4": Object {
174+
"loc": Object {
175+
"end": Object {
176+
"column": 2,
177+
"line": 13,
178+
},
179+
"start": Object {
180+
"column": 0,
181+
"line": 13,
182+
},
183+
},
184+
"locations": Array [
185+
Object {
186+
"end": Object {
187+
"column": 2,
188+
"line": 13,
189+
},
190+
"start": Object {
191+
"column": 0,
192+
"line": 13,
193+
},
194+
},
195+
Object {
196+
"end": Object {
197+
"column": 8,
198+
"line": 13,
199+
},
200+
"start": Object {
201+
"column": 2,
202+
"line": 13,
203+
},
204+
},
205+
],
206+
"type": "binary-expr",
207+
},
208+
"5": Object {
209+
"loc": Object {
210+
"end": Object {
211+
"column": 8,
212+
"line": 13,
213+
},
214+
"start": Object {
215+
"column": 2,
216+
"line": 13,
217+
},
218+
},
219+
"locations": Array [
220+
Object {
221+
"end": Object {
222+
"column": 8,
223+
"line": 13,
224+
},
225+
"start": Object {
226+
"column": 2,
227+
"line": 13,
228+
},
229+
},
230+
Object {
231+
"end": Object {
232+
"column": 8,
233+
"line": 13,
234+
},
235+
"start": Object {
236+
"column": 2,
237+
"line": 13,
238+
},
239+
},
240+
],
241+
"type": "cond-expr",
242+
},
243+
},
244+
"f": Object {
245+
"0": 1,
246+
"1": 0,
247+
"2": 1,
248+
},
249+
"fnMap": Object {
250+
"0": Object {
251+
"decl": Object {
252+
"end": Object {
253+
"column": null,
254+
"line": 8,
255+
},
256+
"start": Object {
257+
"column": 10,
258+
"line": 8,
259+
},
260+
},
261+
"loc": Object {
262+
"end": Object {
263+
"column": null,
264+
"line": 8,
265+
},
266+
"start": Object {
267+
"column": 10,
268+
"line": 8,
269+
},
270+
},
271+
"name": "(anonymous_0)",
272+
},
273+
"1": Object {
274+
"decl": Object {
275+
"end": Object {
276+
"column": null,
277+
"line": 10,
278+
},
279+
"start": Object {
280+
"column": 8,
281+
"line": 10,
282+
},
283+
},
284+
"loc": Object {
285+
"end": Object {
286+
"column": null,
287+
"line": 10,
288+
},
289+
"start": Object {
290+
"column": 8,
291+
"line": 10,
292+
},
293+
},
294+
"name": "(anonymous_1)",
295+
},
296+
"2": Object {
297+
"decl": Object {
298+
"end": Object {
299+
"column": null,
300+
"line": 6,
301+
},
302+
"start": Object {
303+
"column": 2,
304+
"line": 6,
305+
},
306+
},
307+
"loc": Object {
308+
"end": Object {
309+
"column": null,
310+
"line": 6,
311+
},
312+
"start": Object {
313+
"column": 2,
314+
"line": 6,
315+
},
316+
},
317+
"name": "(anonymous_2)",
318+
},
319+
},
320+
"path": "greet.hbs",
321+
"s": Object {
322+
"0": 1,
323+
"1": 0,
324+
"2": 2,
325+
"3": 1,
326+
},
327+
"statementMap": Object {
328+
"0": Object {
329+
"end": Object {
330+
"column": null,
331+
"line": 8,
332+
},
333+
"start": Object {
334+
"column": 10,
335+
"line": 8,
336+
},
337+
},
338+
"1": Object {
339+
"end": Object {
340+
"column": null,
341+
"line": 10,
342+
},
343+
"start": Object {
344+
"column": 8,
345+
"line": 10,
346+
},
347+
},
348+
"2": Object {
349+
"end": Object {
350+
"column": null,
351+
"line": 6,
352+
},
353+
"start": Object {
354+
"column": 2,
355+
"line": 6,
356+
},
357+
},
358+
"3": Object {
359+
"end": Object {
360+
"column": null,
361+
"line": 13,
362+
},
363+
"start": Object {
364+
"column": 2,
365+
"line": 6,
366+
},
367+
},
368+
},
369+
},
370+
}
371+
`;

0 commit comments

Comments
 (0)