diff --git a/src/worker/collect.ts b/src/worker/collect.ts index 36b0062..0562bf6 100644 --- a/src/worker/collect.ts +++ b/src/worker/collect.ts @@ -92,7 +92,12 @@ export async function astCollectTests( file: null!, } file.file = file - log?.('Collecting', testFilepath) + if (verbose) { + verbose('Collecing', testFilepath, request.code) + } + else { + log?.('Collecting', testFilepath) + } const definitions: LocalCallDefinition[] = [] const getName = (callee: any): string | null => { if (!callee) {