Skip to content
Snippets Groups Projects
Commit 3ac45f66 authored by Rhys Arkins's avatar Rhys Arkins
Browse files

test: fix coverage

parent 7f652315
No related branches found
No related tags found
No related merge requests found
...@@ -4,7 +4,7 @@ import { UpdateDependencyConfig, Upgrade } from '../common'; ...@@ -4,7 +4,7 @@ import { UpdateDependencyConfig, Upgrade } from '../common';
export function updateAtPosition( export function updateAtPosition(
fileContent: string, fileContent: string,
upgrade: Upgrade, upgrade: Upgrade,
endingAnchor = '"' endingAnchor: string
): string | null { ): string | null {
const { depName, currentValue, newValue, fileReplacePosition } = upgrade; const { depName, currentValue, newValue, fileReplacePosition } = upgrade;
const leftPart = fileContent.slice(0, fileReplacePosition); const leftPart = fileContent.slice(0, fileReplacePosition);
......
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