feat(tests): update Alpaca API tests to include range parameters and improve stock database cleanup
Run Tests / test (push) Failing after 8s
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.
This commit is contained in:
@@ -10,7 +10,8 @@ describe("OpenRouterClient", () => {
|
||||
it("should have default free models list", () => {
|
||||
const client = new OpenRouterClient("test-api-key");
|
||||
const models = client.getFreeModels();
|
||||
expect(models).toContain("google/gemini-2.0-flash-exp:free");
|
||||
expect(models.length).toBeGreaterThan(0);
|
||||
expect(models).toContain("openai/gpt-oss-120b:free");
|
||||
});
|
||||
|
||||
it("should have available model providers", () => {
|
||||
|
||||
Reference in New Issue
Block a user