refactor(core): move more tests to nodes (#34248)

This commit is contained in:
James Long
2026-06-27 18:10:07 +00:00
committed by GitHub
parent 6248542c49
commit a31698f99b
10 changed files with 56 additions and 52 deletions
+2 -1
View File
@@ -3,13 +3,14 @@ import { $ } from "bun"
import fs from "fs/promises"
import path from "path"
import { Effect } from "effect"
import { LayerNode } from "@opencode-ai/core/effect/layer-node"
import { Git } from "@opencode-ai/core/git"
import { AbsolutePath, RelativePath } 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.compile(Git.node))
describe("Git", () => {
it.live("clones a remote and reads checkout metadata", () =>