mirror of
https://github.com/anomalyco/opencode.git
synced 2026-07-23 18:55:37 -04:00
a4551a94b4
Co-authored-by: Brendan Allan <git@brendonovich.dev>
11 lines
454 B
TypeScript
11 lines
454 B
TypeScript
import { expect, test } from "bun:test"
|
|
import { base64Encode } from "@opencode-ai/core/util/encode"
|
|
import { fixture } from "../timeline/session-timeline-stress.fixture"
|
|
import { stressSessionHref } from "../timeline/timeline-test-helpers"
|
|
|
|
test("builds stress session links for the benchmark server", () => {
|
|
expect(stressSessionHref(fixture.sourceID)).toBe(
|
|
`/server/${base64Encode("http://127.0.0.1:4096")}/session/${fixture.sourceID}`,
|
|
)
|
|
})
|