mirror of
https://github.com/gadgethd/ukmesh.git
synced 2026-10-22 05:52:29 +00:00
test(map): update TTL assertion to 15s
This commit is contained in:
1 parent
143bc97100
commit
884e2cfa40
1 file changed
+1
-1
@@ -3,7 +3,7 @@ import test from 'node:test';
|
||||
import { PATH_LINE_TTL_MS, pathArcColors, pathConfidenceBand } from './pathArcStyle.js';
|
||||
|
||||
test('path confidence uses low/mid/high traffic-light bands', () => {
|
||||
assert.equal(PATH_LINE_TTL_MS, 60_000);
|
||||
assert.equal(PATH_LINE_TTL_MS, 15_000);
|
||||
assert.equal(pathConfidenceBand(null), 'low');
|
||||
assert.equal(pathConfidenceBand(0.39), 'low');
|
||||
assert.equal(pathConfidenceBand(0.4), 'mid');
|
||||
|
||||
Reference in new issue
Block a user