webui: calibrate CSV export, trigger threshold and unit display
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
4908c039a5
commit
3cb998c5da
@@ -150,3 +150,7 @@ test('CalTable.list is sorted by source then signal', () => {
|
||||
assert.deepStrictEqual(t.list().map(e => e.source + '/' + e.signal),
|
||||
['a/b', 'a/z', 'z/a']);
|
||||
});
|
||||
|
||||
test('normaliseCal strips characters that would corrupt a CSV header', () => {
|
||||
assert.strictEqual(C.normaliseCal({source: 'w', signal: 's', unit: 'k,V"'}).unit, 'kV');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user