spb/vquant Public MIT
VibeQuant — AI-powered institutional-grade financial intelligence platform.
TypeScript 84.3%
Python 11.7%
JavaScript 1.6%
CSS 1.5%
HTML 0.7%
1/*2 * =============================================================================3 * VibeQuant (vquant) — AI-Powered Financial Intelligence Platform4 * -----------------------------------------------------------------------------5 * File: client/src/config.test.ts6 *7 * Author: Simon-Pierre Boucher8 * Contact: contact@spboucher.ai9 * Website: https://www.spboucher.ai10 * Demo: https://www.vquant.ai11 * License: MIT (see LICENSE)12 *13 * Copyright © 2026 Simon-Pierre Boucher. All rights reserved.14 * =============================================================================15 */1617import { describe, it, expect } from "vitest";18import { APP_CONFIG } from "./config";1920describe("APP_CONFIG", () => {21 it("has correct app name", () => {22 expect(APP_CONFIG.name).toBe("VQuant");23 });2425 it("has correct domain", () => {26 expect(APP_CONFIG.domain).toBe("www.vquant.ai");27 });2829 it("has required API endpoints", () => {30 expect(APP_CONFIG.endpoints.chat).toBe("/api/chat");31 expect(APP_CONFIG.endpoints.share).toBe("/api/share");32 expect(APP_CONFIG.endpoints.generatePDF).toBe("/api/generate-pdf");33 expect(APP_CONFIG.endpoints.generateDOCX).toBe("/api/generate-docx");34 expect(APP_CONFIG.endpoints.download).toBe("/api/download");35 });3637 it("has reasonable limits", () => {38 expect(APP_CONFIG.limits.maxToolsPerBatch).toBeGreaterThan(0);39 expect(APP_CONFIG.limits.maxQueryLength).toBeGreaterThanOrEqual(1000);40 expect(APP_CONFIG.limits.maxPdfChars).toBeGreaterThan(0);41 });4243 it("has all feature flags as booleans", () => {44 for (const [, value] of Object.entries(APP_CONFIG.features)) {45 expect(typeof value).toBe("boolean");46 }47 });48});49