chore: generate

This commit is contained in:
opencode-agent[bot] 2026-06-09 16:12:42 +00:00
commit ada5b31bb0
11 changed files with 69 additions and 33 deletions

View file

@ -13,11 +13,7 @@ import { tmpdir } from "./fixture/tmpdir"
import { location } from "./fixture/location"
import { it } from "./lib/effect"
function provide(
directory: string,
filesystem = FSUtil.defaultLayer,
data = Global.Path.data,
) {
function provide(directory: string, filesystem = FSUtil.defaultLayer, data = Global.Path.data) {
return Effect.provide(
FileSystem.layer.pipe(
Layer.provide(
@ -447,5 +443,4 @@ describe("FileSystem", () => {
}).pipe(provide(directory)),
),
)
})

View file

@ -44,7 +44,11 @@ describe("Reference", () => {
yield* update((editor) => editor.add("sdk", source))
expect(yield* references.list()).toEqual([
new Reference.Info({ name: "sdk", path: AbsolutePath.make(Repository.cachePath(Global.Path.repos, repository)), source }),
new Reference.Info({
name: "sdk",
path: AbsolutePath.make(Repository.cachePath(Global.Path.repos, repository)),
source,
}),
])
}).pipe(
Effect.scoped,