15e49cb0f9
Run Tests / test (push) Failing after 8s
- Modified Alpaca Historical Bars tests to include range parameters in API requests. - Updated test descriptions for clarity. - Added cleanup step to delete test ticker after verification in stock database tests. - Adjusted Vitest configuration to exclude test files from coverage.
15 lines
702 B
TypeScript
15 lines
702 B
TypeScript
import { type RouteConfig, index, route } from "@react-router/dev/routes";
|
|
|
|
export default [
|
|
index("routes/landing.tsx"),
|
|
route("api/alpaca/account", "routes/api/alpaca/account.ts"),
|
|
route("api/alpaca/quote/:ticker", "routes/api/alpaca/quote.ts"),
|
|
route("api/alpaca/orders", "routes/api/alpaca/orders.ts"),
|
|
route("api/alpaca/positions", "routes/api/alpaca/positions.ts"),
|
|
route("api/indicators", "routes/api/indicators.ts"),
|
|
route("api/analyze", "routes/api/analyze.ts"),
|
|
route("api/stocks", "routes/api/stocks/index.ts"),
|
|
route("stocks", "routes/stocks.tsx"),
|
|
route("analyze", "routes/analyze.tsx"),
|
|
route("analyze/:ticker", "routes/analyze.ticker.tsx"),
|
|
] satisfies RouteConfig; |