MCPcopy Index your code
hub / github.com/anomalyco/opencode / resetState

Function resetState

packages/opencode/test/server/httpapi-sdk.test.ts:189–194  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

187}
188
189function resetState() {
190 return Effect.promise(async () => {
191 await disposeAllInstances()
192 await resetDatabase()
193 })
194}
195
196function httpapi<A, E>(name: string, effect: Effect.Effect<A, E, TestScope>) {
197 it.live(name, effect)

Callers

nothing calls this directly

Calls 2

disposeAllInstancesFunction · 0.90
resetDatabaseFunction · 0.90

Tested by

no test coverage detected