Compare commits

...
Author SHA1 Message Date
James Long 641e3c4fa5 test(core): simplify git layer wiring 2026-06-20 18:18:20 -04:00
+2 -1
View File
@@ -4,12 +4,13 @@ import fs from "fs/promises"
import path from "path"
import { Effect } from "effect"
import { Git } from "@opencode-ai/core/git"
import { LayerNode } from "@opencode-ai/core/effect/layer-node"
import { AbsolutePath } from "@opencode-ai/core/schema"
import { branch, commit, gitRemote } from "./fixture/git"
import { tmpdir } from "./fixture/tmpdir"
import { testEffect } from "./lib/effect"
const it = testEffect(Git.defaultLayer)
const it = testEffect(LayerNode.buildLayer(Git.node))
describe("Git", () => {
it.live("clones a remote and reads checkout metadata", () =>