forked from renovatebot/renovate
/
index.spec.ts.snap
68 lines (64 loc) · 1.63 KB
/
index.spec.ts.snap
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`datasource/gitlab-tags getReleases returns tags 1`] = `
Object {
"releases": Array [
Object {
"gitRef": "v1.0.0",
"releaseTimestamp": "2020-03-04T12:01:37.000-06:00",
"version": "v1.0.0",
},
Object {
"gitRef": "v1.1.0",
"version": "v1.1.0",
},
Object {
"gitRef": "v1.1.1",
"version": "v1.1.1",
},
],
"sourceUrl": "https://gitlab.company.com/api/v4/some/dep2",
}
`;
exports[`datasource/gitlab-tags getReleases returns tags 2`] = `
Array [
Object {
"headers": Object {
"accept": "application/json",
"accept-encoding": "gzip, deflate",
"host": "gitlab.company.com",
"user-agent": "https://github.com/renovatebot/renovate",
},
"method": "GET",
"url": "https://gitlab.company.com/api/v4/api/v4/projects/some%2Fdep2/repository/tags?per_page=100",
},
]
`;
exports[`datasource/gitlab-tags getReleases returns tags with default registry 1`] = `
Object {
"releases": Array [
Object {
"gitRef": "v1.0.0",
"version": "v1.0.0",
},
Object {
"gitRef": "v1.1.0",
"version": "v1.1.0",
},
],
"sourceUrl": "https://gitlab.com/some/dep2",
}
`;
exports[`datasource/gitlab-tags getReleases returns tags with default registry 2`] = `
Array [
Object {
"headers": Object {
"accept": "application/json",
"accept-encoding": "gzip, deflate",
"host": "gitlab.com",
"user-agent": "https://github.com/renovatebot/renovate",
},
"method": "GET",
"url": "https://gitlab.com/api/v4/projects/some%2Fdep2/repository/tags?per_page=100",
},
]
`;