A desktop coding agent with free access to frontier models.
TypeScript
import { describe, expect, test } from "bun:test";
import { createElement } from "react";
import { renderToStaticMarkup } from "react-dom/server";
import { AppFeedbackForm } from "../components/app-feedback-form";
import { SiteFooter } from "../components/site-footer";
const contactPrefill = {
source: "omnirush-contact-page",
entrypoint: "/contact",
deployment: "landing",
appVersion: "",
omnirushServerVersion: "",
opencodeVersion: "",
osName: "",
osVersion: "",
platform: "web",
};
describe("Contact page affordances", () => {
test("renders contact-oriented copy and the direct team email", () => {
const html = renderToStaticMarkup(createElement(AppFeedbackForm, {
prefill: contactPrefill,
mode: "contact",
}));
expect(html).toContain("Have questions about OmniRush.ai?");
expect(html).toContain("Prefer to email us instead?");
expect(html).toContain("[email protected]");
expect(html).toContain("Send question");
});
test("footer links to the contact page", () => {
const html = renderToStaticMarkup(createElement(SiteFooter));
expect(html).toContain('href="/contact"');
expect(html).toContain("Contact");
});
});