openstock/__tests__
Bortlesboat 02a3a68267
fix: add international exchange mappings for TradingView widgets
Expand formatSymbolForTradingView to map 40+ Finnhub exchange suffixes
to their TradingView prefix equivalents. Previously only .SS, .SZ, and
.HK were handled, causing international symbols like 2330.TW to fail
on the stock details page.

Add comprehensive test suite for utility functions including
formatSymbolForTradingView, formatMarketCapValue, formatChangePercent,
getChangeColorClass, and calculateNewsDistribution.

Closes #24
2026-03-28 15:28:12 -04:00
..
adanos.actions.test.ts fix: harden sentiment insights integration 2026-03-25 21:32:26 +01:00
ai-provider.integration.test.ts feat: add MiniMax as alternative LLM provider with provider abstraction 2026-03-20 21:28:24 +08:00
ai-provider.test.ts feat: add MiniMax as alternative LLM provider with provider abstraction 2026-03-20 21:28:24 +08:00
utils.test.ts fix: add international exchange mappings for TradingView widgets 2026-03-28 15:28:12 -04:00