diff --git a/lib/modules/datasource/gradle-version/index.spec.ts b/lib/modules/datasource/gradle-version/index.spec.ts index e8dbc138ead954d41eec61a896d91b93850d5f8e..cf8661684e9e57e3f63a8eaf1c225e6431bfb3be 100644 --- a/lib/modules/datasource/gradle-version/index.spec.ts +++ b/lib/modules/datasource/gradle-version/index.spec.ts @@ -6,7 +6,7 @@ import { ExternalHostError } from '../../../types/errors/external-host-error'; import { id as versioning } from '../../versioning/gradle'; import { GradleVersionDatasource } from '.'; -const allResponse = Fixtures?.get('all.json'); +const allResponse = Fixtures.get('all.json'); let config: GetPkgReleasesConfig; diff --git a/lib/modules/datasource/jenkins-plugins/index.spec.ts b/lib/modules/datasource/jenkins-plugins/index.spec.ts index d00abf611f65d8868266b75f6ba222a590b9363e..00a0681a19eaca38ed3385a7847ebaf221c1757c 100644 --- a/lib/modules/datasource/jenkins-plugins/index.spec.ts +++ b/lib/modules/datasource/jenkins-plugins/index.spec.ts @@ -4,8 +4,8 @@ import * as httpMock from '../../../../test/http-mock'; import * as versioning from '../../versioning/docker'; import { JenkinsPluginsDatasource } from '.'; -const jenkinsPluginsVersions = Fixtures?.getJson('plugin-versions.json'); -const jenkinsPluginsInfo = Fixtures?.getJson('update-center.actual.json'); +const jenkinsPluginsVersions = Fixtures.getJson('plugin-versions.json'); +const jenkinsPluginsInfo = Fixtures.getJson('update-center.actual.json'); describe('modules/datasource/jenkins-plugins/index', () => { describe('getReleases', () => { diff --git a/lib/modules/datasource/repology/index.spec.ts b/lib/modules/datasource/repology/index.spec.ts index 5547fa9fb321a46a9e0f5a7ea127518545410d2f..aabb1b9e800be144eeab40a5cd99dd4b4696abb7 100644 --- a/lib/modules/datasource/repology/index.spec.ts +++ b/lib/modules/datasource/repology/index.spec.ts @@ -48,12 +48,12 @@ const mockResolverCall = ( } }; -const fixtureNginx = Fixtures?.get(`nginx.json`); -const fixtureGccDefaults = Fixtures?.get(`gcc-defaults.json`); -const fixtureGcc = Fixtures?.get(`gcc.json`); -const fixturePulseaudio = Fixtures?.get(`pulseaudio.json`); -const fixtureJdk = Fixtures?.get(`openjdk.json`); -const fixturePython = Fixtures?.get(`python.json`); +const fixtureNginx = Fixtures.get(`nginx.json`); +const fixtureGccDefaults = Fixtures.get(`gcc-defaults.json`); +const fixtureGcc = Fixtures.get(`gcc.json`); +const fixturePulseaudio = Fixtures.get(`pulseaudio.json`); +const fixtureJdk = Fixtures.get(`openjdk.json`); +const fixturePython = Fixtures.get(`python.json`); describe('modules/datasource/repology/index', () => { describe('getReleases', () => { diff --git a/lib/modules/datasource/rubygems/index.spec.ts b/lib/modules/datasource/rubygems/index.spec.ts index e93b86154243c4be4cf83dc33e67483f920952e7..b06e839fcbdb8f280548132620d6b7ceada73ae6 100644 --- a/lib/modules/datasource/rubygems/index.spec.ts +++ b/lib/modules/datasource/rubygems/index.spec.ts @@ -5,10 +5,10 @@ import * as rubyVersioning from '../../versioning/ruby'; import { resetCache } from './get-rubygems-org'; import { RubyGemsDatasource } from '.'; -const rubygemsOrgVersions = Fixtures?.get('rubygems-org.txt'); -const railsInfo = Fixtures?.getJson('rails/info.json'); -const railsVersions = Fixtures?.getJson('rails/versions.json'); -const railsDependencies = Fixtures?.getBinary('dependencies-rails.dat'); +const rubygemsOrgVersions = Fixtures.get('rubygems-org.txt'); +const railsInfo = Fixtures.getJson('rails/info.json'); +const railsVersions = Fixtures.getJson('rails/versions.json'); +const railsDependencies = Fixtures.getBinary('dependencies-rails.dat'); const emptyMarshalArray = Buffer.from([4, 8, 91, 0]); describe('modules/datasource/rubygems/index', () => {