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

exports[`workers/repository/process/lookup/filter-checks > .filterInternalChecks() > picks up minimumConfidence settings from updateType 1`] = `
{
  "pendingChecks": false,
  "pendingReleases": [
    {
      "releaseTimestamp": "2021-01-03T00:00:00.000Z",
      "version": "1.0.2",
    },
    {
      "releaseTimestamp": "2021-01-05T00:00:00.000Z",
      "version": "1.0.3",
    },
    {
      "releaseTimestamp": "2021-01-07T00:00:00.000Z",
      "version": "1.0.4",
    },
  ],
  "release": {
    "releaseTimestamp": "2021-01-01T00:00:01.000Z",
    "version": "1.0.1",
  },
}
`;

exports[`workers/repository/process/lookup/filter-checks > .filterInternalChecks() > picks up minimumReleaseAge settings from hostRules 1`] = `
{
  "pendingChecks": false,
  "pendingReleases": [],
  "release": {
    "releaseTimestamp": "2021-01-07T00:00:00.000Z",
    "version": "1.0.4",
  },
}
`;

exports[`workers/repository/process/lookup/filter-checks > .filterInternalChecks() > picks up minimumReleaseAge settings from updateType 1`] = `
{
  "pendingChecks": false,
  "pendingReleases": [
    {
      "releaseTimestamp": "2021-01-07T00:00:00.000Z",
      "version": "1.0.4",
    },
  ],
  "release": {
    "releaseTimestamp": "2021-01-05T00:00:00.000Z",
    "version": "1.0.3",
  },
}
`;

exports[`workers/repository/process/lookup/filter-checks > .filterInternalChecks() > returns latest release if internalChecksFilter=none 1`] = `
{
  "pendingChecks": false,
  "pendingReleases": [],
  "release": {
    "releaseTimestamp": "2021-01-07T00:00:00.000Z",
    "version": "1.0.4",
  },
}
`;

exports[`workers/repository/process/lookup/filter-checks > .filterInternalChecks() > returns non-latest release if internalChecksFilter=flexible and some pass checks 1`] = `
{
  "pendingChecks": false,
  "pendingReleases": [
    {
      "releaseTimestamp": "2021-01-05T00:00:00.000Z",
      "version": "1.0.3",
    },
    {
      "releaseTimestamp": "2021-01-07T00:00:00.000Z",
      "version": "1.0.4",
    },
  ],
  "release": {
    "releaseTimestamp": "2021-01-03T00:00:00.000Z",
    "version": "1.0.2",
  },
}
`;

exports[`workers/repository/process/lookup/filter-checks > .filterInternalChecks() > returns non-latest release if internalChecksFilter=strict and some pass checks 1`] = `
{
  "pendingChecks": false,
  "pendingReleases": [
    {
      "releaseTimestamp": "2021-01-05T00:00:00.000Z",
      "version": "1.0.3",
    },
    {
      "releaseTimestamp": "2021-01-07T00:00:00.000Z",
      "version": "1.0.4",
    },
  ],
  "release": {
    "releaseTimestamp": "2021-01-03T00:00:00.000Z",
    "version": "1.0.2",
  },
}
`;

exports[`workers/repository/process/lookup/filter-checks > .filterInternalChecks() > returns non-pending latest release if internalChecksFilter=flexible and none pass checks 1`] = `
{
  "pendingChecks": false,
  "pendingReleases": [],
  "release": {
    "releaseTimestamp": "2021-01-07T00:00:00.000Z",
    "version": "1.0.4",
  },
}
`;

exports[`workers/repository/process/lookup/filter-checks > .filterInternalChecks() > returns pending latest release if internalChecksFilter=strict and none pass checks 1`] = `
{
  "pendingChecks": true,
  "pendingReleases": [],
  "release": {
    "releaseTimestamp": "2021-01-07T00:00:00.000Z",
    "version": "1.0.4",
  },
}
`;
