MCPcopy Create free account
hub / github.com/anomalyco/opencode / sync-optimistic.test.ts

File sync-optimistic.test.ts

packages/app/src/context/sync-optimistic.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { describe, expect, test } from "bun:test"
2import type { Message, Part } from "@opencode-ai/sdk/v2/client"
3import { applyOptimisticAdd, applyOptimisticRemove, mergeOptimisticPage } from "./sync"
4

Callers

nothing calls this directly

Calls 8

applyOptimisticAddFunction · 0.90
applyOptimisticRemoveFunction · 0.90
mergeOptimisticPageFunction · 0.90
testFunction · 0.85
userMessageFunction · 0.70
textPartFunction · 0.70
findMethod · 0.65
describeFunction · 0.50

Tested by

no test coverage detected