diff --git a/cli/src/commands/asset.spec.ts b/cli/src/commands/asset.spec.ts index 86e7f098d52a6a..4cd1758a02dd80 100644 --- a/cli/src/commands/asset.spec.ts +++ b/cli/src/commands/asset.spec.ts @@ -201,7 +201,7 @@ describe('checkForDuplicates', () => { }); }); -describe('startWatch', () => { +describe.only('startWatch', () => { it('should start watching a directory and upload new files', async () => { vi.restoreAllMocks(); const testFolder = await fs.promises.mkdtemp(path.join(os.tmpdir(), 'test-startWatch-')); @@ -216,9 +216,9 @@ describe('startWatch', () => { ], }); vi.mocked(getSupportedMediaTypes).mockResolvedValue({ - image: ['jpg'], - sidecar: ['xmp'], - video: ['mp4'], + image: ['.jpg'], + sidecar: ['.xmp'], + video: ['.mp4'], }); try { await startWatch([testFolder], { concurrency: 1 }, { batchSize: 1, debounceTimeMs: 10 });