mirror of
https://github.com/anomalyco/opencode.git
synced 2026-08-16 13:13:22 +00:00
6 lines
259 B
TypeScript
6 lines
259 B
TypeScript
import { expect, test } from "bun:test"
|
|
import { App } from "@opencode-ai/core/app"
|
|
|
|
test("formats app metadata as a user agent", () => {
|
|
expect(App.useragent(App.make({ name: "sdk", version: "1.2.3", channel: "beta" }))).toBe("opencode/beta/1.2.3/sdk")
|
|
})
|