From 09c5e5dc3c27dc969ed9c6bfd07c971f64f9ce64 Mon Sep 17 00:00:00 2001 From: multipleof4 Date: Thu, 13 Nov 2025 17:18:29 -0800 Subject: [PATCH] Fix: Correct expected value format in test --- tests/6_csv_processor/test.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/6_csv_processor/test.js b/tests/6_csv_processor/test.js index dd546e9..1b49c63 100644 --- a/tests/6_csv_processor/test.js +++ b/tests/6_csv_processor/test.js @@ -14,8 +14,6 @@ export default { const result = await processCSV(csv, config); const res = result[0] || {}; const val = res.result ?? res.avg ?? res.value; - assert.deepStrictEqual([{ department: res.department, value: val }], [{ department: 'Engineering', value: 90000 }], 'Test Failed: Aggregation incorrect.'); + assert.deepStrictEqual([{ department: res.department, result: val }], [{ department: 'Engineering', result: 90000 }], 'Test Failed: Aggregation incorrect.'); } }; - -