mirror of
https://github.com/anomalyco/opencode.git
synced 2026-08-04 15:59:53 +00:00
test(core): simplify git layer wiring
This commit is contained in:
parent
22cc758b1a
commit
641e3c4fa5
1 changed files with 2 additions and 1 deletions
|
|
@ -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", () =>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue