From b94447cb4d3077366ee0037845c0f184e87fdec6 Mon Sep 17 00:00:00 2001 From: Vladimir Sheremet Date: Mon, 22 Jul 2024 12:37:51 +0200 Subject: [PATCH] chore: log the test code --- src/worker/collect.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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) { -- 2.51.2