mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-10 05:56:26 +00:00
Apply review suggestions
This commit is contained in:
parent
8dc1811335
commit
ab2fd8b146
1 changed files with 4 additions and 3 deletions
|
@ -1,5 +1,6 @@
|
||||||
import { HeadObjectCommand, S3Client } from '@aws-sdk/client-s3';
|
import { HeadObjectCommand, S3Client } from '@aws-sdk/client-s3';
|
||||||
import { mockClient } from 'aws-sdk-client-mock';
|
import { mockClient } from 'aws-sdk-client-mock';
|
||||||
|
import { codeBlock } from 'common-tags';
|
||||||
import { GoogleAuth as _googleAuth } from 'google-auth-library';
|
import { GoogleAuth as _googleAuth } from 'google-auth-library';
|
||||||
import { DateTime } from 'luxon';
|
import { DateTime } from 'luxon';
|
||||||
import type { Release, ReleaseResult } from '..';
|
import type { Release, ReleaseResult } from '..';
|
||||||
|
@ -317,7 +318,7 @@ describe('modules/datasource/maven/index', () => {
|
||||||
|
|
||||||
describe('supports relocation', () => {
|
describe('supports relocation', () => {
|
||||||
it('with only groupId present', async () => {
|
it('with only groupId present', async () => {
|
||||||
const pom = `
|
const pom = codeBlock`
|
||||||
<project>
|
<project>
|
||||||
<distributionManagement>
|
<distributionManagement>
|
||||||
<relocation>
|
<relocation>
|
||||||
|
@ -337,7 +338,7 @@ describe('modules/datasource/maven/index', () => {
|
||||||
});
|
});
|
||||||
|
|
||||||
it('with only artifactId present', async () => {
|
it('with only artifactId present', async () => {
|
||||||
const pom = `
|
const pom = codeBlock`
|
||||||
<project>
|
<project>
|
||||||
<distributionManagement>
|
<distributionManagement>
|
||||||
<relocation>
|
<relocation>
|
||||||
|
@ -357,7 +358,7 @@ describe('modules/datasource/maven/index', () => {
|
||||||
});
|
});
|
||||||
|
|
||||||
it('with all elments present', async () => {
|
it('with all elments present', async () => {
|
||||||
const pom = `
|
const pom = codeBlock`
|
||||||
<project>
|
<project>
|
||||||
<distributionManagement>
|
<distributionManagement>
|
||||||
<relocation>
|
<relocation>
|
||||||
|
|
Loading…
Reference in a new issue