Set up Vitest and write comprehensive unit tests for the pathfinding logic in routingEngine.js. 1. Setup Vitest/Jest. 2. Write tests for 1-hop and 2-hop route calculations. 3. Edge case testing (invalid amounts, non-existent pairs).
Set up Vitest and write comprehensive unit tests for the pathfinding logic in routingEngine.js.