0
0
mirror of https://github.com/renovatebot/renovate.git synced 2024-12-22 21:48:32 +00:00
renovatebot_renovate/lib/modules/datasource/clojure/__snapshots__/index.spec.ts.snap
Sergei Zharinov f182fb3ea7
feat(maven): Use release post-fetch processing (#31261)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2024-09-26 13:20:54 +00:00

180 lines
3.1 KiB
Plaintext

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`modules/datasource/clojure/index falls back to next registry url 1`] = `
{
"display": "org.example:package",
"group": "org.example",
"homepage": "https://package.example.org/about",
"name": "package",
"packageScope": "org.example",
"registryUrl": "https://clojars.org/repo",
"releases": [
{
"version": "0.0.1",
},
{
"version": "1.0.0",
},
{
"version": "1.0.1",
},
{
"version": "1.0.2",
},
{
"version": "1.0.3-SNAPSHOT",
},
{
"version": "1.0.4-SNAPSHOT",
},
{
"version": "1.0.5-SNAPSHOT",
},
{
"version": "2.0.0",
},
],
}
`;
exports[`modules/datasource/clojure/index ignores unsupported protocols 1`] = `
[
{
"version": "0.0.1",
},
{
"version": "1.0.0",
},
{
"version": "1.0.1",
},
{
"version": "1.0.2",
},
{
"version": "1.0.3-SNAPSHOT",
},
{
"version": "1.0.4-SNAPSHOT",
},
{
"version": "1.0.5-SNAPSHOT",
},
{
"version": "2.0.0",
},
]
`;
exports[`modules/datasource/clojure/index returns releases from custom repository 1`] = `
{
"display": "org.example:package",
"group": "org.example",
"homepage": "https://package.example.org/about",
"isPrivate": true,
"name": "package",
"packageScope": "org.example",
"registryUrl": "https://custom.registry.renovatebot.com",
"releases": [
{
"version": "0.0.1",
},
{
"version": "1.0.0",
},
{
"version": "1.0.1",
},
{
"version": "1.0.2",
},
{
"version": "1.0.3-SNAPSHOT",
},
{
"version": "1.0.4-SNAPSHOT",
},
{
"version": "1.0.5-SNAPSHOT",
},
{
"version": "2.0.0",
},
],
}
`;
exports[`modules/datasource/clojure/index skips registry with invalid XML 1`] = `
{
"display": "org.example:package",
"group": "org.example",
"homepage": "https://package.example.org/about",
"name": "package",
"packageScope": "org.example",
"registryUrl": "https://clojars.org/repo",
"releases": [
{
"version": "0.0.1",
},
{
"version": "1.0.0",
},
{
"version": "1.0.1",
},
{
"version": "1.0.2",
},
{
"version": "1.0.3-SNAPSHOT",
},
{
"version": "1.0.4-SNAPSHOT",
},
{
"version": "1.0.5-SNAPSHOT",
},
{
"version": "2.0.0",
},
],
}
`;
exports[`modules/datasource/clojure/index skips registry with invalid metadata structure 1`] = `
{
"display": "org.example:package",
"group": "org.example",
"homepage": "https://package.example.org/about",
"name": "package",
"packageScope": "org.example",
"registryUrl": "https://clojars.org/repo",
"releases": [
{
"version": "0.0.1",
},
{
"version": "1.0.0",
},
{
"version": "1.0.1",
},
{
"version": "1.0.2",
},
{
"version": "1.0.3-SNAPSHOT",
},
{
"version": "1.0.4-SNAPSHOT",
},
{
"version": "1.0.5-SNAPSHOT",
},
{
"version": "2.0.0",
},
],
}
`;