Skip to content

AI-native knowledge base & Evernote/Obsidian alternative with instant sync & native MCP. Free on Cloudflare or self-hosted via Docker.

635 B
Raw Blame
import { describe, expect, test } from "bun:test";
import releaseSummary from "../../../release-summary.json";
import { fetchEdgeEverApp } from "./index";

const executionContext = {
  passThroughOnException() {},
  waitUntil() {},
};

describe("instance release metadata", () => {
  test("exposes the deployed release and localized changes without authentication", async () => {
    const response = await fetchEdgeEverApp(
      new Request("https://notes.example.com/api/release"),
      {},
      executionContext,
    );

    expect(response.status).toBe(200);
    expect(await response.json()).toEqual(releaseSummary);
  });
});