Skip to content
Snippets Groups Projects
Unverified Commit ff8831f4 authored by Rhys Arkins's avatar Rhys Arkins Committed by GitHub
Browse files

chore: fix bumpVersion type check (#23906)

parent 269f4ba9
No related branches found
No related tags found
No related merge requests found
...@@ -49,7 +49,7 @@ describe('modules/manager/maven/update', () => { ...@@ -49,7 +49,7 @@ describe('modules/manager/maven/update', () => {
it('does not bump version if pom.xml has no version', () => { it('does not bump version if pom.xml has no version', () => {
const { bumpedContent } = pomUpdater.bumpPackageVersion( const { bumpedContent } = pomUpdater.bumpPackageVersion(
minimumContent, minimumContent,
undefined, '',
'patch' 'patch'
); );
......
...@@ -67,11 +67,7 @@ describe('modules/manager/nuget/update', () => { ...@@ -67,11 +67,7 @@ describe('modules/manager/nuget/update', () => {
}); });
it('does not bump version if extract found no version', () => { it('does not bump version if extract found no version', () => {
const { bumpedContent } = bumpPackageVersion( const { bumpedContent } = bumpPackageVersion(minimumContent, '', 'patch');
minimumContent,
undefined,
'patch'
);
expect(bumpedContent).toEqual(minimumContent); expect(bumpedContent).toEqual(minimumContent);
}); });
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment