Refactor test. Download latest release

This commit is contained in:
Lewis Jones
2025-07-09 13:41:17 +01:00
parent 914cb6dc5e
commit 0b0b651777
+4 -3
View File
@@ -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);