// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html

exports[`workers/repository/update/pr/changelog/github/index > getChangeLogJSON > filters unnecessary warns 1`] = `
{
  "hasReleaseNotes": true,
  "project": {
    "apiBaseUrl": "https://api.github.com/",
    "baseUrl": "https://github.com/",
    "depName": undefined,
    "packageName": "@renovate/no",
    "repository": "chalk/chalk",
    "sourceDirectory": undefined,
    "sourceUrl": "https://github.com/chalk/chalk",
    "type": "github",
  },
  "versions": [
    {
      "changes": [],
      "compare": {},
      "date": undefined,
      "gitRef": undefined,
      "releaseNotes": null,
      "version": "2.5.2",
    },
    {
      "changes": [],
      "compare": {},
      "date": "2017-12-24T03:20:46.238Z",
      "gitRef": undefined,
      "releaseNotes": null,
      "version": "2.4.2",
    },
    {
      "changes": [],
      "compare": {
        "url": "https://github.com/chalk/chalk/compare/npm_2.2.2...npm_2.3.0",
      },
      "date": "2017-10-24T03:20:46.238Z",
      "gitRef": "npm_2.3.0",
      "releaseNotes": {
        "notesSourceUrl": "",
        "url": "https://github.com/chalk/chalk/compare/npm_2.2.2...npm_2.3.0",
      },
      "version": "2.3.0",
    },
    {
      "changes": [],
      "compare": {
        "url": "https://github.com/chalk/chalk/compare/npm_1.0.0...npm_2.2.2",
      },
      "date": undefined,
      "gitRef": "npm_2.2.2",
      "releaseNotes": {
        "notesSourceUrl": "",
        "url": "https://github.com/chalk/chalk/compare/npm_1.0.0...npm_2.2.2",
      },
      "version": "2.2.2",
    },
  ],
}
`;

exports[`workers/repository/update/pr/changelog/github/index > getChangeLogJSON > supports github enterprise and github enterprise changelog 1`] = `
{
  "hasReleaseNotes": true,
  "project": {
    "apiBaseUrl": "https://github-enterprise.example.com/api/v3/",
    "baseUrl": "https://github-enterprise.example.com/",
    "depName": undefined,
    "packageName": "renovate",
    "repository": "chalk/chalk",
    "sourceDirectory": undefined,
    "sourceUrl": "https://github-enterprise.example.com/chalk/chalk",
    "type": "github",
  },
  "versions": [
    {
      "changes": [],
      "compare": {},
      "date": undefined,
      "gitRef": undefined,
      "releaseNotes": null,
      "version": "2.5.2",
    },
    {
      "changes": [],
      "compare": {},
      "date": "2017-12-24T03:20:46.238Z",
      "gitRef": undefined,
      "releaseNotes": null,
      "version": "2.4.2",
    },
    {
      "changes": [],
      "compare": {
        "url": "https://github-enterprise.example.com/chalk/chalk/compare/npm_2.2.2...npm_2.3.0",
      },
      "date": "2017-10-24T03:20:46.238Z",
      "gitRef": "npm_2.3.0",
      "releaseNotes": {
        "notesSourceUrl": "",
        "url": "https://github-enterprise.example.com/chalk/chalk/compare/npm_2.2.2...npm_2.3.0",
      },
      "version": "2.3.0",
    },
    {
      "changes": [],
      "compare": {
        "url": "https://github-enterprise.example.com/chalk/chalk/compare/npm_1.0.0...npm_2.2.2",
      },
      "date": undefined,
      "gitRef": "npm_2.2.2",
      "releaseNotes": {
        "notesSourceUrl": "",
        "url": "https://github-enterprise.example.com/chalk/chalk/compare/npm_1.0.0...npm_2.2.2",
      },
      "version": "2.2.2",
    },
  ],
}
`;

exports[`workers/repository/update/pr/changelog/github/index > getChangeLogJSON > supports github enterprise and github.com changelog 1`] = `
{
  "hasReleaseNotes": true,
  "project": {
    "apiBaseUrl": "https://api.github.com/",
    "baseUrl": "https://github.com/",
    "depName": undefined,
    "packageName": "renovate",
    "repository": "chalk/chalk",
    "sourceDirectory": undefined,
    "sourceUrl": "https://github.com/chalk/chalk",
    "type": "github",
  },
  "versions": [
    {
      "changes": [],
      "compare": {},
      "date": undefined,
      "gitRef": undefined,
      "releaseNotes": null,
      "version": "2.5.2",
    },
    {
      "changes": [],
      "compare": {},
      "date": "2017-12-24T03:20:46.238Z",
      "gitRef": undefined,
      "releaseNotes": null,
      "version": "2.4.2",
    },
    {
      "changes": [],
      "compare": {
        "url": "https://github.com/chalk/chalk/compare/npm_2.2.2...npm_2.3.0",
      },
      "date": "2017-10-24T03:20:46.238Z",
      "gitRef": "npm_2.3.0",
      "releaseNotes": {
        "notesSourceUrl": "",
        "url": "https://github.com/chalk/chalk/compare/npm_2.2.2...npm_2.3.0",
      },
      "version": "2.3.0",
    },
    {
      "changes": [],
      "compare": {
        "url": "https://github.com/chalk/chalk/compare/npm_1.0.0...npm_2.2.2",
      },
      "date": undefined,
      "gitRef": "npm_2.2.2",
      "releaseNotes": {
        "notesSourceUrl": "",
        "url": "https://github.com/chalk/chalk/compare/npm_1.0.0...npm_2.2.2",
      },
      "version": "2.2.2",
    },
  ],
}
`;

exports[`workers/repository/update/pr/changelog/github/index > getChangeLogJSON > supports node engines 1`] = `
{
  "hasReleaseNotes": true,
  "project": {
    "apiBaseUrl": "https://api.github.com/",
    "baseUrl": "https://github.com/",
    "depName": undefined,
    "packageName": "renovate",
    "repository": "chalk/chalk",
    "sourceDirectory": undefined,
    "sourceUrl": "https://github.com/chalk/chalk",
    "type": "github",
  },
  "versions": [
    {
      "changes": [],
      "compare": {},
      "date": undefined,
      "gitRef": undefined,
      "releaseNotes": null,
      "version": "2.5.2",
    },
    {
      "changes": [],
      "compare": {},
      "date": "2017-12-24T03:20:46.238Z",
      "gitRef": undefined,
      "releaseNotes": null,
      "version": "2.4.2",
    },
    {
      "changes": [],
      "compare": {
        "url": "https://github.com/chalk/chalk/compare/npm_2.2.2...npm_2.3.0",
      },
      "date": "2017-10-24T03:20:46.238Z",
      "gitRef": "npm_2.3.0",
      "releaseNotes": {
        "notesSourceUrl": "",
        "url": "https://github.com/chalk/chalk/compare/npm_2.2.2...npm_2.3.0",
      },
      "version": "2.3.0",
    },
    {
      "changes": [],
      "compare": {
        "url": "https://github.com/chalk/chalk/compare/npm_1.0.0...npm_2.2.2",
      },
      "date": undefined,
      "gitRef": "npm_2.2.2",
      "releaseNotes": {
        "notesSourceUrl": "",
        "url": "https://github.com/chalk/chalk/compare/npm_1.0.0...npm_2.2.2",
      },
      "version": "2.2.2",
    },
  ],
}
`;

exports[`workers/repository/update/pr/changelog/github/index > getChangeLogJSON > uses GitHub tags 1`] = `
{
  "hasReleaseNotes": true,
  "project": {
    "apiBaseUrl": "https://api.github.com/",
    "baseUrl": "https://github.com/",
    "depName": undefined,
    "packageName": "renovate",
    "repository": "chalk/chalk",
    "sourceDirectory": undefined,
    "sourceUrl": "https://github.com/chalk/chalk",
    "type": "github",
  },
  "versions": [
    {
      "changes": [],
      "compare": {},
      "date": undefined,
      "gitRef": undefined,
      "releaseNotes": null,
      "version": "2.5.2",
    },
    {
      "changes": [],
      "compare": {},
      "date": "2017-12-24T03:20:46.238Z",
      "gitRef": undefined,
      "releaseNotes": null,
      "version": "2.4.2",
    },
    {
      "changes": [],
      "compare": {
        "url": "https://github.com/chalk/chalk/compare/npm_2.2.2...npm_2.3.0",
      },
      "date": "2017-10-24T03:20:46.238Z",
      "gitRef": "npm_2.3.0",
      "releaseNotes": {
        "notesSourceUrl": "",
        "url": "https://github.com/chalk/chalk/compare/npm_2.2.2...npm_2.3.0",
      },
      "version": "2.3.0",
    },
    {
      "changes": [],
      "compare": {
        "url": "https://github.com/chalk/chalk/compare/npm_1.0.0...npm_2.2.2",
      },
      "date": undefined,
      "gitRef": "npm_2.2.2",
      "releaseNotes": {
        "notesSourceUrl": "",
        "url": "https://github.com/chalk/chalk/compare/npm_1.0.0...npm_2.2.2",
      },
      "version": "2.2.2",
    },
  ],
}
`;

exports[`workers/repository/update/pr/changelog/github/index > getChangeLogJSON > works without Github 1`] = `
{
  "hasReleaseNotes": true,
  "project": {
    "apiBaseUrl": "https://api.github.com/",
    "baseUrl": "https://github.com/",
    "depName": undefined,
    "packageName": "renovate",
    "repository": "chalk/chalk",
    "sourceDirectory": undefined,
    "sourceUrl": "https://github.com/chalk/chalk",
    "type": "github",
  },
  "versions": [
    {
      "changes": [],
      "compare": {},
      "date": undefined,
      "gitRef": undefined,
      "releaseNotes": null,
      "version": "2.5.2",
    },
    {
      "changes": [],
      "compare": {},
      "date": "2017-12-24T03:20:46.238Z",
      "gitRef": undefined,
      "releaseNotes": null,
      "version": "2.4.2",
    },
    {
      "changes": [],
      "compare": {
        "url": "https://github.com/chalk/chalk/compare/npm_2.2.2...npm_2.3.0",
      },
      "date": "2017-10-24T03:20:46.238Z",
      "gitRef": "npm_2.3.0",
      "releaseNotes": {
        "notesSourceUrl": "",
        "url": "https://github.com/chalk/chalk/compare/npm_2.2.2...npm_2.3.0",
      },
      "version": "2.3.0",
    },
    {
      "changes": [],
      "compare": {
        "url": "https://github.com/chalk/chalk/compare/npm_1.0.0...npm_2.2.2",
      },
      "date": undefined,
      "gitRef": "npm_2.2.2",
      "releaseNotes": {
        "notesSourceUrl": "",
        "url": "https://github.com/chalk/chalk/compare/npm_1.0.0...npm_2.2.2",
      },
      "version": "2.2.2",
    },
  ],
}
`;
