Fix no shadow issues in fingerprints.test.ts
Rename shadowing "uri" argument to the more explicit "artifactURI".
This commit is contained in:
parent
2a2910e693
commit
ffe94681e4
1 changed files with 3 additions and 1 deletions
|
|
@ -106,7 +106,9 @@ test("hash", (t: ava.Assertions) => {
|
|||
|
||||
function testResolveUriToFile(uri: any, index: any, artifactsURIs: any[]) {
|
||||
const location = { uri, index };
|
||||
const artifacts = artifactsURIs.map((uri) => ({ location: { uri } }));
|
||||
const artifacts = artifactsURIs.map((artifactURI) => ({
|
||||
location: { uri: artifactURI },
|
||||
}));
|
||||
return fingerprints.resolveUriToFile(
|
||||
location,
|
||||
artifacts,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue