Refactor test. Download latest release

This commit is contained in:
Lewis Jones
2025-07-09 13:41:17 +01:00
parent 914cb6dc5e
commit 0b0b651777
+2 -1
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 () => {
await ComponentDetection.downloadLatestRelease();
const manifests = await ComponentDetection.scanAndGetManifests('./test');
expect(manifests).toBeDefined();
@@ -263,4 +265,3 @@ describe('normalizeDependencyGraphPaths with real output.json', () => {
expect(manifestsByName['environment.yaml'].file?.source_location).toBe('environment.yaml');
}
}, 15000);
});