Open-source agentic AI Search Execution Platform. Track AI visibility, find opportunities, and let agents turn signals into prioritized actions and drafted fixes across ChatGPT, Claude, Gemini, Google AI Overviews, Google AI Mode, Perplexity, Grok, and Microsoft Copilot.
TypeScript aeoai-agentai-searchanswer-engine-optimizationbrand-monitoringchatgptclaudecopilotdockergeminigeogoogle-ai-overviewsgrokmcpnextjsopen-sourceperplexityseosupabasetypescript
import { describe, expect, it } from 'vitest';
import { toPlanId } from './plans';
describe('toPlanId', () => {
it('keeps a known plan', () => {
expect(toPlanId('growth')).toBe('growth');
});
it("reads a new sign-up's free or empty plan as Starter's", () => {
expect(toPlanId('free')).toBe('starter');
expect(toPlanId(null)).toBe('starter');
expect(toPlanId(undefined)).toBe('starter');
});
});