renovate/lib/modules/manager/pre-commit/__snapshots__/extract.spec.ts.snap

79 lines
1.9 KiB
Plaintext

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`modules/manager/pre-commit/extract extractPackageFile() extracts from complex config file correctly 1`] = `
{
"deps": [
{
"currentValue": "v3.3.0",
"datasource": "github-tags",
"depName": "pre-commit/pre-commit-hooks",
"depType": "repository",
"packageName": "pre-commit/pre-commit-hooks",
},
{
"currentValue": "19.3b0",
"datasource": "github-tags",
"depName": "psf/black",
"depType": "repository",
"packageName": "psf/black",
},
{
"currentValue": "19.3b0",
"datasource": "gitlab-tags",
"depName": "psf/black",
"depType": "repository",
"packageName": "psf/black",
},
{
"currentValue": "19.3b0",
"datasource": "gitlab-tags",
"depName": "psf/black",
"depType": "repository",
"packageName": "psf/black",
},
{
"currentValue": "v42.0",
"datasource": "gitlab-tags",
"depName": "my/dep",
"depType": "repository",
"packageName": "my/dep",
"registryUrls": [
"https://gitlab.mycompany.com",
],
},
{
"currentValue": "v42.0",
"datasource": "gitlab-tags",
"depName": "my/dep",
"depType": "repository",
"packageName": "my/dep",
"registryUrls": [
"https://gitlab.mycompany.com",
],
},
{
"currentValue": "v2.1.2",
"datasource": "github-tags",
"depName": "prettier/pre-commit",
"depType": "repository",
"packageName": "prettier/pre-commit",
},
{
"currentValue": "v2.1.2",
"datasource": "github-tags",
"depName": "prettier/pre-commit",
"depType": "repository",
"packageName": "prettier/pre-commit",
},
{
"currentValue": "v1.0.0",
"datasource": undefined,
"depName": undefined,
"depType": "repository",
"packageName": undefined,
"skipReason": "invalid-url",
},
],
}
`;