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

tests: remove unused qualifiers

parent 371003fa
No related branches found
No related tags found
No related merge requests found
...@@ -9,7 +9,6 @@ The minimum exported interface for a datasource is a function called `getPkgRele ...@@ -9,7 +9,6 @@ The minimum exported interface for a datasource is a function called `getPkgRele
The `purl` object contains: The `purl` object contains:
- `lookupName`: the package's full name including scope if present (e.g. `@foo/bar`) - `lookupName`: the package's full name including scope if present (e.g. `@foo/bar`)
- `qualifiers`: optional addition arguments, may contain fields like `registry`
In the simplest case, the datasource only needs to pay attention to `purl.lookupName`. In the simplest case, the datasource only needs to pay attention to `purl.lookupName`.
......
...@@ -231,7 +231,6 @@ describe('api/docker', () => { ...@@ -231,7 +231,6 @@ describe('api/docker', () => {
got.mockReturnValueOnce({}); got.mockReturnValueOnce({});
const res = await docker.getPkgReleases({ const res = await docker.getPkgReleases({
lookupName: 'my/node', lookupName: 'my/node',
qualifiers: {},
}); });
expect(res).toBe(null); expect(res).toBe(null);
}); });
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment