@davoodmehraban89 / VELYQOR / commits / f96b4e1
Fork 0

Intelligence, Advanced Charting & Trading Platform

test(data): explicit source zero volume is allowed

davoodmehraban89 committed Oct 11, 2026 at 23:51 UTC f96b4e1c2b056b8cfe02895d6edca693f89ab292
1 file changed +1 -1
packages/market-domain/test/licensed-ohlc-history.test.mjs
+1 -1
@@ -78,5 +78,5 @@ test("full-year coverage is not implied by 254 observations unless dates and cal
78 test("rejects undocumented unit pairs and excessive precision before persistence",()=>{
79 assert.throws(()=>run([],{canonicalUnit:"USD_PER_BTC"}),/Undocumented/);
80 assert.throws(()=>run([sample("2025-10-13",{close:"1210000.1234567890"})]),/precision/);
81 - assert.throws(()=>run([sample("2025-10-13",{volume:"0"})]),/positive/);
81 + assert.equal(run([sample("2025-10-13",{volume:"0"})]).candles[0].volume,"0");
82 });