diff --git a/componentDetection.test.ts b/componentDetection.test.ts index ab01aed..311c646 100644 --- a/componentDetection.test.ts +++ b/componentDetection.test.ts @@ -7,7 +7,7 @@ test('Downloads CLI', async () => { }); test('Runs CLI', async () => { - ComponentDetection.runComponentDetection('./test'); + await ComponentDetection.runComponentDetection('./test'); expect(fs.existsSync(ComponentDetection.outputPath)); });