mirror of
https://github.com/multipleof4/lynchmark.git
synced 2026-01-13 16:17:54 +00:00
Revert: Update test.js
This commit is contained in:
@@ -15,6 +15,6 @@ export default {
|
|||||||
const res = result[0] || {};
|
const res = result[0] || {};
|
||||||
const val = res.result ?? res.avg ?? res.value;
|
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, value: val }], [{ department: 'Engineering', value: 90000 }], 'Test Failed: Aggregation incorrect.');
|
||||||
return result;
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user