Refactor test. Download latest release
This commit is contained in:
@@ -212,8 +212,10 @@ describe('normalizeDependencyGraphPaths with real output.json', () => {
|
||||
expect(key).not.toMatch(/^\w:\\|^\/\/|^\.{1,2}\//); // Not windows absolute, not network, not relative
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
test('full action scan creates manifests with correct names and file source locations', async () => {
|
||||
test('full action scan creates manifests with correct names and file source locations', async () => {
|
||||
await ComponentDetection.downloadLatestRelease();
|
||||
const manifests = await ComponentDetection.scanAndGetManifests('./test');
|
||||
|
||||
expect(manifests).toBeDefined();
|
||||
@@ -262,5 +264,4 @@ describe('normalizeDependencyGraphPaths with real output.json', () => {
|
||||
expect(manifestsByName['environment.yaml'].name).toBe('environment.yaml');
|
||||
expect(manifestsByName['environment.yaml'].file?.source_location).toBe('environment.yaml');
|
||||
}
|
||||
}, 15000);
|
||||
});
|
||||
}, 15000);
|
||||
|
||||
Reference in New Issue
Block a user