Fix: Correct expected value format in test

This commit is contained in:
2025-11-13 17:18:29 -08:00
parent f40ddc263d
commit 09c5e5dc3c

View File

@@ -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.');
}
};