From 751312cec9481ef9c60d079ceef6e41aa83d503f Mon Sep 17 00:00:00 2001 From: LongYinan Date: Mon, 20 Nov 2023 15:56:20 +0800 Subject: [PATCH] test: add test file name into error message (#1821) --- memory-testing/test-util.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/memory-testing/test-util.mjs b/memory-testing/test-util.mjs index dbda13c6..91a03626 100644 --- a/memory-testing/test-util.mjs +++ b/memory-testing/test-util.mjs @@ -61,7 +61,7 @@ export async function createSuite(testFile, maxMemoryUsage) { colors.redBright( `Potential memory leak, memory growth: ${prettyBytes( memoryGrowth, - )}`, + )}, test file: ${testFile}`, ), ) process.exit(1)