Skip to content

Where people and agents ship software together. The open-source git platform for the whole job: issues, agents, checks and deploys to the edge.

9 linesCodeBlameRaw
1import assert from "node:assert/strict";
2import { test } from "node:test";
3import { organization } from "./structured-data.ts";
4
5test("organization contact is the supplied public email, without an invented postal address", () => {
6 const descriptor = organization() as { "script:ld+json": Record<string, unknown> };
7 assert.deepEqual(descriptor["script:ld+json"].contactPoint, { "@type": "ContactPoint", email: "hey@flagon.io", contactType: "customer support" });
8 assert.equal(descriptor["script:ld+json"].address, undefined);
9});